Re: New Version Notification for draft-momoka-httpbis-settings-enable-websockets-00.txt

Ben Schwartz <bemasc@google.com> Wed, 18 January 2023 16:22 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 CE66CC151542 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jan 2023 08:22:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.249
X-Spam-Level:
X-Spam-Status: No, score=-15.249 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_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 AjR84lVl1nhJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 18 Jan 2023 08:22:03 -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 CFBA2C14E511 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 18 Jan 2023 08:22:02 -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 1pIBBv-0019Fo-06 for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jan 2023 16:21:35 +0000
Resent-Date: Wed, 18 Jan 2023 16:21:35 +0000
Resent-Message-Id: <E1pIBBv-0019Fo-06@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 1pIBBt-0019EV-5j for ietf-http-wg@listhub.w3.org; Wed, 18 Jan 2023 16:21:33 +0000
Received: from mail-io1-xd2c.google.com ([2607:f8b0:4864:20::d2c]) 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 1pIBBp-001nUu-QX for ietf-http-wg@w3.org; Wed, 18 Jan 2023 16:21:32 +0000
Received: by mail-io1-xd2c.google.com with SMTP id b127so8617657iof.8 for <ietf-http-wg@w3.org>; Wed, 18 Jan 2023 08:21:30 -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=LuHuxwn3TeKdPBt00cyCvtcpUSipa/h7aiEhp71N2yQ=; b=PV5vWWjKnmXu67MBjs2X0ruxeboN1VEgugt13fvAfyFuS5SzDrdVACKFkow6ZElwCy giACpwKC8xFoGd5sCeyFbsTQGOuIZAc1V/YP9FgSEuw7Y+GeP6wuNW3TySu9XmGD+GJu rbuWKeeW4aeGgZbQcl4+d3TbWGUYj6MnsQqhn8uOkVJCnEYonhOWGlyZCO6Avh8fWLLU 7fixzgoxftcXxeUc6mxVzj24Kl+aaFO8kV7dEbUy9g7fUt4HxsSeCl5RWD/RfU4r/v6E zc+2JgvqrgW0QV43ST2cWDRrNpkAGgY+yPAOgwAfQfDRjW/ecT/8RgV2eisS1X7D8d93 PEeA==
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=LuHuxwn3TeKdPBt00cyCvtcpUSipa/h7aiEhp71N2yQ=; b=uX8MSIUNGdlZxcyX74b8P9rh6xmIoinhljT1eH47MAc7v98KLYHIV3N/IzVZ1k9QBM LZMuLTR3cr/Zt3+DRhthQlC5VeZPDpFzz57r0kZcutxtI7/+JccQn54b3aa3umsqqAHe gpxckeUSzTAcDdZvcAhiEGPixrjcm48hCyI1pt/8VwUea2TGvDw+l3dkunHuSSNGL26s tSI9LAezQ9mCGOc88Grhkbtg2ugErPDrbajQFEurL7yHV1uocruZDD7K24MIVhhuLost cI4JuvTiMHhYp0Djal1eFI1ZJ/x8vnytForeKETEzKkVIGkKihRAqQB3BVa7KkuC3+b7 gTrA==
X-Gm-Message-State: AFqh2kqwzcV0pn3TJqogl/4AJhv19RF8gBBcFHVkLe0dQ3iFaXN8KWCr 6wS63nx1Ix40hxc0cGjg8Y8+buXRz/68M4HGAREzQ6J2PCT4TvPY
X-Google-Smtp-Source: AMrXdXvvkktEaUwNCmSvB8bNHiPb2RVQ093NYbgqY+ZRbeG8TmpGn4g6FqhFkZ8N/bZaR2expAAwrVTq0eBFexevg70=
X-Received: by 2002:a05:6638:380c:b0:376:22fe:5e7c with SMTP id i12-20020a056638380c00b0037622fe5e7cmr680672jav.126.1674058879349; Wed, 18 Jan 2023 08:21:19 -0800 (PST)
MIME-Version: 1.0
References: <167308384752.44075.8810233925919235602@ietfa.amsl.com> <CAD9w2qbAGXsskcDO0Ogo6htiEj5qqT8+_RLVMuZ4ZNiepEid_Q@mail.gmail.com>
In-Reply-To: <CAD9w2qbAGXsskcDO0Ogo6htiEj5qqT8+_RLVMuZ4ZNiepEid_Q@mail.gmail.com>
From: Ben Schwartz <bemasc@google.com>
Date: Wed, 18 Jan 2023 11:21:06 -0500
Message-ID: <CAHbrMsDSFRHQhciZM6PYNL=qoWAK8N-g+Pd39NngBKxag62wpA@mail.gmail.com>
To: Momoka Yamamoto <momoka.my6@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="000000000000de9a5705f28c34dd"
Received-SPF: pass client-ip=2607:f8b0:4864:20::d2c; envelope-from=bemasc@google.com; helo=mail-io1-xd2c.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 1pIBBp-001nUu-QX 448863c7a01c91416eb49e09d169086d
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/CAHbrMsDSFRHQhciZM6PYNL=qoWAK8N-g+Pd39NngBKxag62wpA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40683
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>

This draft says

Suppose the server supports extended CONNECT but not bootstrapping
> WebSockets over that HTTP connection. In this case, the client sending a
> WebSocket handshake request will result in a response of 501 (Not
> Implemented) status code (Section 15.6.2 of [HTTP]), and the client would
> need to fall back to trying the WebSocket handshake over HTTP/1.


I don't think this is correct.  If the client encountered this error code,
it would just fail the WebSocket setup attempt.

In general, I don't think we should be asking clients to retry requests
across different HTTP versions.  If you publish wss:// URIs for your
domain, you need to support WebSocket on all the domain's HTTP versions.


On Wed, Jan 18, 2023 at 10:45 AM Momoka Yamamoto <momoka.my6@gmail.com>
wrote:

>
> Hello,
>
> I have submitted an internet-draft proposing a SETTINGS_ENABLE_WEBSOCKETS
> settings parameter.
> With WebSockets not being the only protocol that uses extended CONNECT (
> https://github.com/ietf-wg-webtrans/draft-ietf-webtrans-http3/issues/68#issuecomment-1310323592
> ),
> Before starting the WebSocket handshake, it will be nice to know if the
> server supports bootstrapping WebSockets over HTTP/2 or HTTP/3.
>
> I would love to know your thoughts
>
> Momoka Y
>
> ---------- Forwarded message ---------
> From: <internet-drafts@ietf.org>
> Date: Sat, Jan 7, 2023 at 6:30 PM
> Subject: New Version Notification for
> draft-momoka-httpbis-settings-enable-websockets-00.txt
> To: Momoka Yamamoto <momoka.my6@gmail.com>
>
>
>
> A new version of I-D,
> draft-momoka-httpbis-settings-enable-websockets-00.txt
> has been successfully submitted by Momoka Yamamoto and posted to the
> IETF repository.
>
> Name:           draft-momoka-httpbis-settings-enable-websockets
> Revision:       00
> Title:          SETTINGS_ENABLE_WEBSOCKETS settings parameter for HTTP/2
> and HTTP/3
> Document date:  2023-01-07
> Group:          Individual Submission
> Pages:          5
> URL:
> https://www.ietf.org/archive/id/draft-momoka-httpbis-settings-enable-websockets-00.txt
> Status:
> https://datatracker.ietf.org/doc/draft-momoka-httpbis-settings-enable-websockets/
> Html:
> https://www.ietf.org/archive/id/draft-momoka-httpbis-settings-enable-websockets-00.html
> Htmlized:
> https://datatracker.ietf.org/doc/html/draft-momoka-httpbis-settings-enable-websockets
>
>
> Abstract:
>    This document proposes a new HTTP settings parameter,
>    SETTINGS_ENABLE_WEBSOCKETS.  This parameter indicates whether the
>    server supports bootstrapping WebSockets over the established
>    connection.
>
>
>
>
> The IETF Secretariat
>
>
>