Re: [hybi] Fwd: New Version Notification for draft-mcmanus-httpbis-h2-websockets-01.txt

Amos Jeffries <squid3@treenet.co.nz> Fri, 27 October 2017 06:59 UTC

Return-Path: <squid3@treenet.co.nz>
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 D87DC13B126 for <hybi@ietfa.amsl.com>; Thu, 26 Oct 2017 23:59:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.108
X-Spam-Level:
X-Spam-Status: No, score=-1.108 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RDNS_NONE=0.793, SPF_PASS=-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 3KVE_De7i6t8 for <hybi@ietfa.amsl.com>; Thu, 26 Oct 2017 23:59:56 -0700 (PDT)
Received: from treenet.co.nz (unknown [121.99.228.82]) by ietfa.amsl.com (Postfix) with ESMTP id 8D26E139203 for <hybi@ietf.org>; Thu, 26 Oct 2017 23:59:54 -0700 (PDT)
Received: from [192.168.137.92] (unknown [121.98.43.66]) by treenet.co.nz (Postfix) with ESMTPA id C1E4066009E; Fri, 27 Oct 2017 19:59:51 +1300 (NZDT)
To: Andy Green <andy@warmcat.com>, John Fallows <john.fallows@kaazing.com>, Patrick McManus <pmcmanus@mozilla.com>
Cc: hybi <hybi@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>
References: <150903901882.24232.14013636670744151147.idtracker@ietfa.amsl.com> <CAOdDvNrC1PgribOiDc93hfCDFSJbjodnU8=yeNWgzkq4Cm-2Cg@mail.gmail.com> <CACAJL3nEB5jGFXpqPZ2ErdkezCHpZE1CnqXy0yomBP-v7jcGRA@mail.gmail.com> <bf6aabaf-227b-fc3d-8142-57712a2e8935@warmcat.com>
From: Amos Jeffries <squid3@treenet.co.nz>
Message-ID: <1e9970aa-d0ef-6887-bd27-6ec344a80bc1@treenet.co.nz>
Date: Fri, 27 Oct 2017 19:59:51 +1300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
MIME-Version: 1.0
In-Reply-To: <bf6aabaf-227b-fc3d-8142-57712a2e8935@warmcat.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/hybi/I7xUkFaAoTn7fMF2-JY43iZwvfI>
Subject: Re: [hybi] Fwd: 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: Fri, 27 Oct 2017 06:59:58 -0000

On 27/10/17 12:40, Andy Green wrote:>
> The spec still needs to touch on the changes it is making to h2 DATA 
> frames, it assumes it is inheriting generic bidirectional transport from 
> h2, but it isn't.  H2 DATA kills the stream if it comes outside of 
> whatever was told for content-length: on both sides, and eg h2spec 
> requires you to enforce that.  So the spec requires changes in DATA 
> handling implementation for upgraded streams and should note it.

AIUI, Content-Length remains optional in h2 as it was in 1.x. The h2 
equivalent of Transfer-Encoding:chunked is being used by wss. Just a 
stream of DATA frames in both directions terminated by the END_STREAM 
flag instead of a specific Content-Length value.

Amos