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

Momoka Yamamoto <momoka.my6@gmail.com> Wed, 01 March 2023 05:21 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 56F84C14CE46 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2023 21:21:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.747
X-Spam-Level:
X-Spam-Status: No, score=-7.747 tagged_above=-999 required=5 tests=[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, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 XZ9VD1-NKtYB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Feb 2023 21:21:23 -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 A28ADC14CE45 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Feb 2023 21:21:23 -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 1pXEs3-005y5e-53 for ietf-http-wg-dist@listhub.w3.org; Wed, 01 Mar 2023 05:19:19 +0000
Resent-Date: Wed, 01 Mar 2023 05:19:19 +0000
Resent-Message-Id: <E1pXEs3-005y5e-53@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 1pXEs0-005y4h-VO for ietf-http-wg@listhub.w3.org; Wed, 01 Mar 2023 05:19:17 +0000
Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) 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 1pXErx-004KJy-VV for ietf-http-wg@w3.org; Wed, 01 Mar 2023 05:19:17 +0000
Received: by mail-ed1-x532.google.com with SMTP id f13so49159382edz.6 for <ietf-http-wg@w3.org>; Tue, 28 Feb 2023 21:19:15 -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=S1nvBklQN0kHzG+nOkAMt7rJ9nEjlzXaqjKFwIePF4Y=; b=dZDDj+i+/mntwS5lF+oyXwrc1VOuW6Y0ndm8rYaFscs4TFyv9+xU90boj0bf9UrLO+ BTeQpxUKzwMXkKO1SbeJu45WQ9Bl+kKBSxdpQrAEL4w0d6jBklvpvx8jwgKbTjAnfY6c lxS1Jqzt6r7EcChQGwy8d2IF1oQbHtprJh28FkaInfDvln6vuDHSDBXiQKqBeJvLn/cL DfiLIrexRX64KvLFS+AfottcoCWuv9GHcs/5wv/CFgw8W3BZllXGAP/KU6B0lzDOK1Dz jG4nVktBstt/PDckea2UQn4kuIQQm4eSsvGATpGY1CdstDFGSqXPFvsd1+Gv2V+AQl7f 0fPg==
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=S1nvBklQN0kHzG+nOkAMt7rJ9nEjlzXaqjKFwIePF4Y=; b=nlnYUrnMD7W2/cyT6kJIrUHJnHTcDxQMlKMhMou8KotI0f+l0NuGrH1POrSUbXktPU hT1PunzCHevIkLmPCkqXv9W8KugMaLtyjXxR/zvB8/avDhy3uOPYvrVL/sJnKuGE+74e v2rxSBYJYKAO6V3VsrYBrpBbC3IUVULR7VQ1K5ZCuf17SUCaxKbf60m5/2siVXoUosAG bnsP3QhgvbY38W3S1ZBnEk59yJ+7B+pCiIsXjzR03NtaDcQYmgjoHH0GLjQh4ps9hEvJ q27Uc5yixzPAo39a5QwIuSiyNhB8rez9EgVdTJj829hhG2PRoByF4kiUIFUuK1KdNe1C 22Ug==
X-Gm-Message-State: AO0yUKUEy4lhy/GYQT9TyEgx8lXAA8E3+gFLC9erPmAlVRszLBCfPcMG wF5MnZlnQKgCJKHI7Vnp0PKhiK4/wRuO9SGmfdgt/1BsDajmBcnb
X-Google-Smtp-Source: AK7set/V+VNzVt0xlj0rDqGnGFuz7nq7TR2WKjUT0pWh+nvZ0Gel1SiXFWAEIQAUqDBxgZ/9K17FbCL3Gf9Wso79lJk=
X-Received: by 2002:a17:906:d1c9:b0:878:b86b:de15 with SMTP id bs9-20020a170906d1c900b00878b86bde15mr2480245ejb.11.1677647944484; Tue, 28 Feb 2023 21:19:04 -0800 (PST)
MIME-Version: 1.0
References: <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> <CAHbrMsBT3DQJe8jvxmpt8TPW4jhttOLkQmco9+_FpZfGUJxCRw@mail.gmail.com> <CALGR9oZfiura=WnVVX47YZx-TFY_6xvK8PckS5cXY325a859AA@mail.gmail.com> <CAD9w2qajqHy+JbSPGKUjfPL0Bh94CaOyNn=iRouBS1PWRUBZkA@mail.gmail.com> <CAD9w2qYW=aV-m+FdY2X1J1933WgiDjDs02uMgq2w1i1NCK4PqA@mail.gmail.com> <Y/5WLJ1+T0TqUrSe@LK-Perkele-VII2.locald>
In-Reply-To: <Y/5WLJ1+T0TqUrSe@LK-Perkele-VII2.locald>
From: Momoka Yamamoto <momoka.my6@gmail.com>
Date: Wed, 01 Mar 2023 13:18:52 +0800
Message-ID: <CAD9w2qYbG+6f0pXve6s+MfJmUxPGj8_UWx8d4x_CJmLGf=AyYg@mail.gmail.com>
To: Ilari Liusvaara <ilariliusvaara@welho.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary="000000000000ca0ce605f5cfd99b"
Received-SPF: pass client-ip=2a00:1450:4864:20::532; envelope-from=momoka.my6@gmail.com; helo=mail-ed1-x532.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.8
X-W3C-Hub-Spam-Report: 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 1pXErx-004KJy-VV 2d9e6807e920696231de4a5a7540ddee
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/CAD9w2qYbG+6f0pXve6s+MfJmUxPGj8_UWx8d4x_CJmLGf=AyYg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/50794
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>

Hi Ilari,

- Does setting SETTINGS_ENABLE_WEBSOCKETS=1 imply support for necressary
>   parts of extended connect, or does server also need to send
>   SETTINGS_ENABLE_CONNECT_PROTOCOL=1?

The server also needs to send SETTINGS_ENABLE_CONNECT_PROTOCOL=1.
(although SETTINGS_ENABLE_WEBSOCKETS=1 imply support for extended connect)
This is following the discussion in WebTransport wg at IETF115 [1] and the
Editor's Copy of the draft WebTransport over HTTP/3 [2]



- I don't think the default for SETTINGS_ENABLE_WEBSOCKETS should be 0,
>   as I think absence of SETTINGS_ENABLE_WEBSOCKETS is different from
>   SETTINGS_ENABLE_WEBSOCKETS=0. Later signals that websockets is not
>   supported, the former together with SETTINGS_ENABLE_CONNECT_PROTOCOL=1
>   signals that websockets may be supported (as there are currently
>   servers that support websockets and behave that way).

This makes sense. Thank you.
So you are saying there should be no default value,
as the absence of the SETTINGS parameter has it's own meaning.

Thank you,
Momoka

[1] https://datatracker.ietf.org/doc/minutes-115-webtrans-202211101300/
[2]
https://ietf-wg-webtrans.github.io/draft-ietf-webtrans-http3/draft-ietf-webtrans-http3.html#name-extended-connect-in-http-3



On Wed, Mar 1, 2023 at 3:31 AM Ilari Liusvaara <ilariliusvaara@welho.com>
wrote:

> On Tue, Feb 28, 2023 at 04:12:21PM +0800, Momoka Yamamoto wrote:
> > Hello,
> > I have submitted a new revision of this
> > draft draft-momoka-httpbis-settings-enable-websockets.
> >
> >
> > The proposed parameter will be useful if an active HTTP/2 (or HTTP/3)
> > connection to the server already exists when a document with a wss:/ URL
> is
> > loaded. The browser can then choose whether to try opening the WebSocket
> > stream over the connection, as the proposed SETTINGS_ENABLE_WEBSOCKETS
> has
> > likely been received by that point.
> >
> > However, the proposed parameter won't be useful when a browser tries to
> > establish a new connection because the SETTINGS will not be received
> when a
> > decision to use HTTP/2 or HTTP/1 is made.
>
> Some comments:
>
> - Does setting SETTINGS_ENABLE_WEBSOCKETS=1 imply support for necressary
>   parts of extended connect, or does server also need to send
>   SETTINGS_ENABLE_CONNECT_PROTOCOL=1?
>
> - I don't think the default for SETTINGS_ENABLE_WEBSOCKETS should be 0,
>   as I think absence of SETTINGS_ENABLE_WEBSOCKETS is different from
>   SETTINGS_ENABLE_WEBSOCKETS=0. Later signals that websockets is not
>   supported, the former together with SETTINGS_ENABLE_CONNECT_PROTOCOL=1
>   signals that websockets may be supported (as there are currently
>   servers that support websockets and behave that way).
>
>
>
> -Ilari
>
>