Re: New Version Notification for draft-momoka-httpbis-settings-enable-websockets-00.txt
Ben Schwartz <bemasc@google.com> Thu, 19 January 2023 14:37 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 941E9C14CE47 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jan 2023 06:37:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.251
X-Spam-Level:
X-Spam-Status: No, score=-10.251 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, 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_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 147MCOI40vmO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jan 2023 06:37:29 -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 43349C14CF1C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jan 2023 06:37:22 -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 1pIW2A-004OGo-JJ for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jan 2023 14:36:54 +0000
Resent-Date: Thu, 19 Jan 2023 14:36:54 +0000
Resent-Message-Id: <E1pIW2A-004OGo-JJ@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 <bemasc@google.com>) id 1pIW28-004OFf-O3 for ietf-http-wg@listhub.w3.org; Thu, 19 Jan 2023 14:36:52 +0000
Received: from mail-il1-x12a.google.com ([2607:f8b0:4864:20::12a]) by titan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from <bemasc@google.com>) id 1pIW25-002Ftj-A4 for ietf-http-wg@w3.org; Thu, 19 Jan 2023 14:36:52 +0000
Received: by mail-il1-x12a.google.com with SMTP id f8so1255903ilj.5 for <ietf-http-wg@w3.org>; Thu, 19 Jan 2023 06:36:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.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=LGc7msN6CB7OfPNwJYKnDVYbBMkoLbofaC1kXc0Tsnw=; b=FNkYWBTY7xfak9FaXbjEb29ecPrJ82MbwMRTU+1ekMBerJhcwOnaPlElRxJ8OiXX4y 0ugnYnGvTC6CesSf5nODTfLozCBLSw9rvv07lTM7awcyODWnPo1fGa+rDsU9Imk25K2r ZaFF64nD+NCwWUFJw9M6r7/M4YruEbCkDl4TaClN7kkJdSLwCJk3dcz6qn6reFj2nQNL AIIGFGkbzgU4t7crVF3R3HTE9eeiZuBKj18F8tVR5LkDvIeKcUMSmr8VMfAmDwuukrI4 y4rZ9ud0CP95RdHNioczCp2shmUHSNWUBZdy0SB9HnaVCHEbuyd08Eif8Kr9Ys/vqdtX J51w==
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=LGc7msN6CB7OfPNwJYKnDVYbBMkoLbofaC1kXc0Tsnw=; b=ElOS8jCc6ZqdHSjMckibuwEpkxevuvSV/kJ2MZo6ho4g/w68whQs3M4SJ640L7uabC A1HcvzNj6tWMda9+/cMA7rQSWPg9cFjLcoYa8rkQ1DZmCIGf4cg52C+tEcpyj4fr04mA 3ObOWATeY+6oMdvhr9nbpy1qB8pJk3wrUNqGLfAwfn5zk9FfnIrGMb9g1OfNt+9/7QJ6 SNsI3cM+arSXTe7Obykzq6YtHWo3hSm8S79jm7Q3Breh6avzLzir5g6L9SvsF6OHEs0O 1ELvmjGYKdNtGn38+qn9bKwf4ZfKHFqgF7sjGDl0Puh6iGAGr+mu/c5r2pnoynN4pYe8 XqOw==
X-Gm-Message-State: AFqh2koMHM5sVqoA+njDpGBVbclSXZU8Bm4AGgxzNOrK9BlNoiv9aFfS Kvei4rp7pYu5euGr7f3WdhYfvV4p6aJV0hdLlVjJUg==
X-Google-Smtp-Source: AMrXdXtBVbnXM31HroaHEJl2gUzz598zp5+3nDb/yq+xhI9VpAyTBgxxIE4FgZ0ZhDlnTFBHZsjF7xqhREhz6sIKdh8=
X-Received: by 2002:a92:b011:0:b0:30f:48ea:354f with SMTP id x17-20020a92b011000000b0030f48ea354fmr15717ilh.159.1674138999849; Thu, 19 Jan 2023 06:36:39 -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> <CAD9w2qaGEG96hDrGEadMSRE+Kxr-DzuThyMmShBzjzmBarC_Jg@mail.gmail.com>
In-Reply-To: <CAD9w2qaGEG96hDrGEadMSRE+Kxr-DzuThyMmShBzjzmBarC_Jg@mail.gmail.com>
From: Ben Schwartz <bemasc@google.com>
Date: Thu, 19 Jan 2023 09:36:27 -0500
Message-ID: <CAHbrMsBT3DQJe8jvxmpt8TPW4jhttOLkQmco9+_FpZfGUJxCRw@mail.gmail.com>
To: Momoka Yamamoto <momoka.my6@gmail.com>
Cc: Lucas Pardue <lucaspardue.24.7@gmail.com>, ietf-http-wg@w3.org
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="0000000000006f8c8d05f29edc2d"
Received-SPF: pass client-ip=2607:f8b0:4864:20::12a; envelope-from=bemasc@google.com; helo=mail-il1-x12a.google.com
X-W3C-Hub-DKIM-Status: validation passed: (address=bemasc@google.com domain=google.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-21.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1pIW25-002Ftj-A4 db8e115960eea3872e6c40d289f3e5bb
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/CAHbrMsBT3DQJe8jvxmpt8TPW4jhttOLkQmco9+_FpZfGUJxCRw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40691
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>
On Thu, Jan 19, 2023 at 8:47 AM Momoka Yamamoto <momoka.my6@gmail.com> wrote: > 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. > Thanks for helping me to understand the motivation for this proposal. Do you believe there are existing origins that 1. Offer SETTINGS_ENABLE_CONNECT_PROTOCOL in HTTP/3 AND 2. Operate WebSocket services AND 3. Don't support WebSocket over HTTP/3 AND 4. Are not willing to implement WebSocket over HTTP/3 ? If so, then I agree we have a problem. If not, I think the best course of action is to assume that the origin's supported "Upgrade Tokens"/":protocol values" are independent of HTTP version, except where the IETF has ruled out support for a particular combination of :protocol and HTTP version. It would be nice if a client could know if the existing HTTP/3 connection > supports bootstrapping WebSockets. > In my view, clients are free to assume this when they see a wss:// link to an origin that offers SETTINGS_ENABLE_CONNECT_PROTOCOL in 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. > Interesting! Publishing a flag for SETTINGS_ENABLE_CONNECT_PROTOCOL in the HTTPS record seems plausible to me. ...
- 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