Re: [hybi] New Version Notification for draft-mcmanus-httpbis-h2-websockets-01.txt
Patrick McManus <pmcmanus@mozilla.com> Mon, 30 October 2017 20:56 UTC
Return-Path: <pmcmanus@mozilla.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5DD1D13F3EE for <hybi@ietfa.amsl.com>; Mon, 30 Oct 2017 13:56:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.733
X-Spam-Level:
X-Spam-Status: No, score=-0.733 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_SORBS_SPAM=0.5, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1EjJQ7JpxyTb for <hybi@ietfa.amsl.com>; Mon, 30 Oct 2017 13:56:25 -0700 (PDT)
Received: from linode64.ducksong.com (linode6only.ducksong.com [IPv6:2600:3c02::f03c:91ff:fe6e:e8da]) by ietfa.amsl.com (Postfix) with ESMTP id CE62813F567 for <hybi@ietf.org>; Mon, 30 Oct 2017 13:56:24 -0700 (PDT)
Received: from mail-lf0-f49.google.com (mail-lf0-f49.google.com [209.85.215.49]) by linode64.ducksong.com (Postfix) with ESMTPSA id EBFBB3A1DA for <hybi@ietf.org>; Mon, 30 Oct 2017 16:56:23 -0400 (EDT)
Received: by mail-lf0-f49.google.com with SMTP id e143so4431652lfg.12 for <hybi@ietf.org>; Mon, 30 Oct 2017 13:56:23 -0700 (PDT)
X-Gm-Message-State: AMCzsaUbjVGiodDicB3bLjDVbDoPWkqe0kqwRapK6TwBgJO8+k+IjTTv 9eMnvUOTguWM9Wwnm+qisE8749BZNgFHIeOfhRE=
X-Google-Smtp-Source: ABhQp+Smr1v+1/8cFRKIvTxDaL40aCS/Y9S6k9TBu0RYUsjGD0OjHKq/1vlOf8H4kcnzxQaklRIguOmQ0jUxeT+ADjk=
X-Received: by 10.25.21.233 with SMTP id 102mr3306090lfv.252.1509396982735; Mon, 30 Oct 2017 13:56:22 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.25.21.22 with HTTP; Mon, 30 Oct 2017 13:56:20 -0700 (PDT)
In-Reply-To: <CANatvzwsjzJJog1AgvcS8MAwBepSu+Z6aOz+8WvL7MvfXW+FFw@mail.gmail.com>
References: <150903901882.24232.14013636670744151147.idtracker@ietfa.amsl.com> <CAOdDvNrC1PgribOiDc93hfCDFSJbjodnU8=yeNWgzkq4Cm-2Cg@mail.gmail.com> <CANatvzwsjzJJog1AgvcS8MAwBepSu+Z6aOz+8WvL7MvfXW+FFw@mail.gmail.com>
From: Patrick McManus <pmcmanus@mozilla.com>
Date: Mon, 30 Oct 2017 16:56:20 -0400
X-Gmail-Original-Message-ID: <CAOdDvNqE8YKGmfDrSz7UiFy3mWkBKatVac9qB9uScaKZebJPLg@mail.gmail.com>
Message-ID: <CAOdDvNqE8YKGmfDrSz7UiFy3mWkBKatVac9qB9uScaKZebJPLg@mail.gmail.com>
To: Kazuho Oku <kazuhooku@gmail.com>
Cc: Patrick McManus <pmcmanus@mozilla.com>, hybi <hybi@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a11408126fb2b32055cc9de7c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/hybi/AXkcafC_t0rhiG3-_bOy7bCF5eg>
Subject: Re: [hybi] New Version Notification for draft-mcmanus-httpbis-h2-websockets-01.txt
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Oct 2017 20:56:27 -0000
I think the consensus is to move the websockets parameters (sub-protocol, etc..) in h2 HEADERS. -02 will reflect that. On Mon, Oct 30, 2017 at 1:10 AM, Kazuho Oku <kazuhooku@gmail.com> wrote: > Hi, > > Thank you for working on the draft. I am happy to see WebSockets > coming to HTTP/2, and I like that the proposal tries to make changes > caused by the transition minimal. > > The biggest issue I wonder if we can continue using HTTP/1 headers for > WebSocket parameter negotiation (e.g., Sec-WebSocket-Version, > Sec-WebSocket-Protocol), instead of sending them in DATA frames. > > The reason I ask this is because unless we keep them as headers, it > would become impossible to implement a ws-on-h2 to ws-on-h1 proxy > without dealing with the details of the WebSocket protocol. > > In HTTP/1, it has been possible to implement a HTTP proxy that > supports WebSockets, without the knowledge of sub-protocol > negotiation. This is because all the parameters were negotiated > through the use of the HTTP headers, and a proxy could simply forward > them as-is. All the thing that a proxy has been required to do is to > look at the Upgrade header and the status code, and start running a > bi-directional tunnel once the upstream server sends a 101 response. > > With the -01 proposal, the same feature is retained only when a proxy > forwards from ws-on-h2 client to a ws-on-h2 server. In the case of > ws-on-h2 client connecting to ws-on-h1 server (or ws-on-h1 client > connecting to ws-on-h2 server), the proxy needs to convert > WebSocket-specific values sent in DATA frame to a HTTP header (or > vice-versa). > > I wonder if this is a necessary complication. If not, I would prefer > to continue sending all the headers necessary for WebSocket > negotiation in HTTP/2 as well. > > 2017-10-27 2:32 GMT+09:00 Patrick McManus <pmcmanus@mozilla.com>: > > This is an updated based on the direction discussed.. I'm kind of on the > > fence about whether its better. Its nice there is no h1 in there. > > > > ---------- Forwarded message ---------- > > From: <internet-drafts@ietf.org> > > Date: Thu, Oct 26, 2017 at 1:30 PM > > Subject: New Version Notification for > > draft-mcmanus-httpbis-h2-websockets-01.txt > > To: Patrick McManus <mcmanus@ducksong.com> > > > > > > > > A new version of I-D, draft-mcmanus-httpbis-h2-websockets-01.txt > > has been successfully submitted by Patrick McManus and posted to the > > IETF repository. > > > > Name: draft-mcmanus-httpbis-h2-websockets > > Revision: 01 > > Title: Bootstrapping WebSockets with HTTP/2 > > Document date: 2017-10-26 > > Group: Individual Submission > > Pages: 9 > > URL: > > https://www.ietf.org/internet-drafts/draft-mcmanus-httpbis- > h2-websockets-01.txt > > Status: > > https://datatracker.ietf.org/doc/draft-mcmanus-httpbis-h2-websockets/ > > Htmlized: > > https://tools.ietf.org/html/draft-mcmanus-httpbis-h2-websockets-01 > > Htmlized: > > https://datatracker.ietf.org/doc/html/draft-mcmanus- > httpbis-h2-websockets-01 > > Diff: > > https://www.ietf.org/rfcdiff?url2=draft-mcmanus-httpbis-h2-websockets-01 > > > > Abstract: > > This document defines a mechanism for running the WebSocket Protocol > > [RFC6455] over a single stream of an HTTP/2 connection. > > > > > > > > > > Please note that it may take a couple of minutes from the time of > submission > > until the htmlized version and diff are available at tools.ietf.org. > > > > The IETF Secretariat > > > > > > > > -- > Kazuho Oku >
- [hybi] Fwd: New Version Notification for draft-mc… Patrick McManus
- Re: [hybi] Fwd: New Version Notification for draf… John Fallows
- Re: [hybi] Fwd: New Version Notification for draf… Martin Thomson
- Re: [hybi] New Version Notification for draft-mcm… Mark Nottingham
- Re: [hybi] Fwd: New Version Notification for draf… Andy Green
- Re: [hybi] New Version Notification for draft-mcm… Martin Thomson
- Re: [hybi] New Version Notification for draft-mcm… Mark Nottingham
- Re: [hybi] Fwd: New Version Notification for draf… Amos Jeffries
- Re: [hybi] Fwd: New Version Notification for draf… Andy Green
- Re: [hybi] Fwd: New Version Notification for draf… Patrick McManus
- Re: [hybi] Fwd: New Version Notification for draf… Patrick McManus
- Re: [hybi] Fwd: New Version Notification for draf… John Fallows
- Re: [hybi] Fwd: New Version Notification for draf… Patrick McManus
- Re: [hybi] Fwd: New Version Notification for draf… Patrick McManus
- Re: [hybi] Fwd: New Version Notification for draf… John Fallows
- Re: [hybi] Fwd: New Version Notification for draf… Patrick McManus
- Re: [hybi] Fwd: New Version Notification for draf… Anne van Kesteren
- Re: [hybi] New Version Notification for draft-mcm… Kazuho Oku
- Re: [hybi] New Version Notification for draft-mcm… Patrick McManus
- Re: [hybi] Fwd: New Version Notification for draf… Patrick McManus
- Re: [hybi] Fwd: New Version Notification for draf… Willy Tarreau
- Re: [hybi] Fwd: New Version Notification for draf… Kazuho Oku
- Re: [hybi] Fwd: New Version Notification for draf… Wenbo Zhu
- Re: [hybi] Fwd: New Version Notification for draf… Kari Hurtta
- Re: [hybi] Fwd: New Version Notification for draf… Kari Hurtta
- Re: [hybi] Fwd: New Version Notification for draf… Andy Green
- Re: [hybi] Fwd: New Version Notification for draf… Kazuho Oku
- Re: [hybi] Fwd: New Version Notification for draf… Kari Hurtta
- Re: [hybi] Fwd: New Version Notification for draf… Takeshi Yoshino
- Re: [hybi] Fwd: New Version Notification for draf… Takeshi Yoshino
- Re: [hybi] Fwd: New Version Notification for draf… Kari Hurtta
- Re: [hybi] Fwd: New Version Notification for draf… Takeshi Yoshino
- Re: [hybi] Fwd: New Version Notification for draf… Kazuho Oku
- Re: [hybi] Fwd: New Version Notification for draf… Kari Hurtta
- Re: [hybi] Fwd: New Version Notification for draf… Kazuho Oku
- Re: [hybi] Fwd: New Version Notification for draf… Mike Bishop