Re: New Version Notification for draft-momoka-httpbis-settings-enable-websockets-00.txt
Momoka Yamamoto <momoka.my6@gmail.com> Thu, 19 January 2023 13:49 UTC
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9F1EFC14CEFC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jan 2023 05:49:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.5
X-Spam-Level:
X-Spam-Status: No, score=-7.5 tagged_above=-999 required=5 tests=[AD_PREFS=0.25, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b31yXjwrQCG9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jan 2023 05:49:53 -0800 (PST)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1ED1CC14EB1A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jan 2023 05:49:52 -0800 (PST)
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1pIVGI-004EI9-M8 for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jan 2023 13:47:26 +0000
Resent-Date: Thu, 19 Jan 2023 13:47:26 +0000
Resent-Message-Id: <E1pIVGI-004EI9-M8@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <momoka.my6@gmail.com>) id 1pIVGG-004EGq-J4 for ietf-http-wg@listhub.w3.org; Thu, 19 Jan 2023 13:47:24 +0000
Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by titan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from <momoka.my6@gmail.com>) id 1pIVGC-002ESF-W3 for ietf-http-wg@w3.org; Thu, 19 Jan 2023 13:47:24 +0000
Received: by mail-ej1-x635.google.com with SMTP id hw16so5739590ejc.10 for <ietf-http-wg@w3.org>; Thu, 19 Jan 2023 05:47:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=EFSGDAS1QUCj9wot+ZhtHIK/Xci2oafuy0sDjOmM2mA=; b=VtVarDzOTMRO8HsQSUHHqY2J8VMtZ7lpMhkVxsOxennMV+4bFuLBijR7f8Dxm8UPeG IDGlW7J27zgMIvXX6U395Br8DgbgptvJxQ2yPuA95yexyoi3QgOM9QHFi+E+kbN8v/HG 1XtwaR718RCw8kyflbzJHCzOvNen118TpL/kzABEZ4mlBvjB27Ys6I/SNoDa8cVAnrP2 gJV0YNxWo6iYfkBeQKO/Y0bwrEQaEOqK2PzPeC3Rhtl/j4QeA9sHEGL/ndsn5r8J/zHM f6VYjq5OXFiO1eXjK21o2krInR2BZgk3qGKAXWv/eLwR/ZxiZoXNIca8COcEhIeyvkEF vSoQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EFSGDAS1QUCj9wot+ZhtHIK/Xci2oafuy0sDjOmM2mA=; b=IOb7ui0Rza1T06DIRrDli8x2jSDXL69f8gTmDcQ0KiiK+aP5MQECeTyI+o1c4XMp7m TOcfVMzVj1e86GMzuOFIo+YAlKhe1zxl6uhUCtnq7F3ooZWEdlmXWc9ycGgYZhvYzNDc f+9UgPMken+NvKVRH4XWgy5gWiYipbftphvJ9fbmRl6hy3IMEJgb6qd1p5v+wkpFp/7G J0NdPmLzl8jRqI2k8wJ1OTw/EouiA6+UEsSOk0KUHiH5/pzEbF3FNA3/QIG6FMqyUCZr FaE34Q481Za1we9ls6vI1B7LRMOhgfRtUWXTGADV8ZptuMv2EZnTlXGT/ljaE2TqT/lN D2DA==
X-Gm-Message-State: AFqh2koUpEjuU+zqYnzF7Sj80qrqD46xirbeW7R5LQBfz/IBFhs4OTjd u9OIcok6+RJmxB+FYZ89xt+XbQof08nVrZYz9btme+XJ25o=
X-Google-Smtp-Source: AMrXdXt+B42/YSPBKBfDT7PgZt4daijNx5tpKo+cqx30nWsQMbPUXv8d2hM3CFRRoYOnu/pchWw9J0hcn18mI8hdLvI=
X-Received: by 2002:a17:906:f9c9:b0:84d:45cc:3247 with SMTP id lj9-20020a170906f9c900b0084d45cc3247mr987667ejb.481.1674136031364; Thu, 19 Jan 2023 05:47:11 -0800 (PST)
MIME-Version: 1.0
References: <167308384752.44075.8810233925919235602@ietfa.amsl.com> <CAD9w2qbAGXsskcDO0Ogo6htiEj5qqT8+_RLVMuZ4ZNiepEid_Q@mail.gmail.com> <CAHbrMsDSFRHQhciZM6PYNL=qoWAK8N-g+Pd39NngBKxag62wpA@mail.gmail.com> <CALGR9oYmYid=0pMW5tCLpE1GFdz1hgTL0Vy6HDjYBSNZC1WP3A@mail.gmail.com> <CAHbrMsDKrDf7v4DLHnHUnRCK2ABZ_ZMfGy4_2PAz+g=2RhDNHQ@mail.gmail.com> <CALGR9obABt+cL2Cafkt_x9fRvu9BTD+tZmPGF7-SaDeaNYvBhA@mail.gmail.com> <CAHbrMsB2a-9U_f+AFq5L9PmQzquc=wdEWcYoR8UyN4H=LiaBzQ@mail.gmail.com>
In-Reply-To: <CAHbrMsB2a-9U_f+AFq5L9PmQzquc=wdEWcYoR8UyN4H=LiaBzQ@mail.gmail.com>
From: Momoka Yamamoto <momoka.my6@gmail.com>
Date: Thu, 19 Jan 2023 22:46:59 +0900
Message-ID: <CAD9w2qaGEG96hDrGEadMSRE+Kxr-DzuThyMmShBzjzmBarC_Jg@mail.gmail.com>
To: Ben Schwartz <bemasc@google.com>
Cc: Lucas Pardue <lucaspardue.24.7@gmail.com>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary="000000000000748ff305f29e2b97"
Received-SPF: pass client-ip=2a00:1450:4864:20::635; envelope-from=momoka.my6@gmail.com; helo=mail-ej1-x635.google.com
X-W3C-Hub-DKIM-Status: validation passed: (address=momoka.my6@gmail.com domain=gmail.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-3.6
X-W3C-Hub-Spam-Report: AD_PREFS=0.25, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1pIVGC-002ESF-W3 bf1046c36cc88ecdf7ab5af2f56673e2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-momoka-httpbis-settings-enable-websockets-00.txt
Archived-At: <https://www.w3.org/mid/CAD9w2qaGEG96hDrGEadMSRE+Kxr-DzuThyMmShBzjzmBarC_Jg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40690
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Hello, Thank you both for your response. Most clients have solved this problem by not implementing RFC 8441 at all. > Chromium has implemented it, with an interesting workaround: Extended > CONNECT is only used if a suitable socket with > SETTINGS_ENABLE_CONNECT_PROTOCOL is already available. If a fresh > connection is needed for wss://, Chromium always uses HTTP/1.1. (See > https://docs.google.com/document/d/1ZxaHz4j2BDMa1aI5CQHMjtFI3UxGT459pjYv4To9rFY/edit# > .) > This is the use case I am thinking of but for WebSockets over HTTP/3. Chromium uses WebSockets over HTTP/2 if there is an existing HTTP/2 connection that has received SETTINGS_ENABLE_CONNECT_PROTOCOL. However, it cannot do the same for HTTP/3 because receiving SETTINGS_ENABLE_CONNECT_PROTOCOL currently does not guarantee support for WebSockets over HTTP/3. SETTINGS_ENABLE_CONNECT_PROTOCOL will be sent for other protocols as well. It would be nice if a client could know if the existing HTTP/3 connection supports bootstrapping WebSockets. Imagine a CDN that is responsible for infrastructure but not content > (pages). For many years pages have been served over HTTP/2 or HTTP/3 > without advertising SETTINGS_ENABLE_CONNECT_PROTOCOL and wss:// scheme - > everything has worked fine. Clients used HTTP/1.1 bootstrapped websockets. > Even is a server offered the setting, a client might not support that > feature and would act on wss:// by opening a HTTP/1.1 bootstrapped > connection. Now if I want to deploy e.g. a CONNECT-UDP proxy on that CDN > infrastructure, then I have to support WebSocket over HTTP/2 or HTTP/3? > That seems well beyond the extent of how RFC 8441 was written. In this scenario, removing the wss:// from the content isn't an option, it > will just break the purpose of the page. This is also an example of when a server wants to advertise that it does not support bootstrapping WebSockets over HTTP/2 or HTTP/3. In this case, SETTINGS_ENABLE_WEBSOCKETS can be used to signal that it does not support the protocol over HTTP/2 or HTTP/3. It would be nice if a client could know if the server supports Bootstrapping WebSockets over HTTP/2 or HTTP/3 before initiating a connection to the server. But at least with this settings parameter, we can know that at least when there already is a connection to the server. Momoka Y
- Fwd: New Version Notification for draft-momoka-ht… Momoka Yamamoto
- Re: New Version Notification for draft-momoka-htt… Ben Schwartz
- Re: New Version Notification for draft-momoka-htt… Lucas Pardue
- Re: New Version Notification for draft-momoka-htt… Wenbo Zhu
- Re: New Version Notification for draft-momoka-htt… Ben Schwartz
- Re: New Version Notification for draft-momoka-htt… Lucas Pardue
- Re: New Version Notification for draft-momoka-htt… Ben Schwartz
- Re: New Version Notification for draft-momoka-htt… Momoka Yamamoto
- Re: New Version Notification for draft-momoka-htt… Ben Schwartz
- Re: New Version Notification for draft-momoka-htt… Lucas Pardue
- Re: New Version Notification for draft-momoka-htt… Momoka Yamamoto
- Re: New Version Notification for draft-momoka-htt… Momoka Yamamoto
- Re: New Version Notification for draft-momoka-htt… Glenn Strauss
- Re: New Version Notification for draft-momoka-htt… Lucas Pardue
- Re: New Version Notification for draft-momoka-htt… Glenn Strauss
- Re: New Version Notification for draft-momoka-htt… Lucas Pardue
- Re: New Version Notification for draft-momoka-htt… Ilari Liusvaara
- Re: New Version Notification for draft-momoka-htt… Momoka Yamamoto
- Re: New Version Notification for draft-momoka-htt… Momoka Yamamoto