Quick review for draft-svirid-websocket2-over-http2 (Was: Re: Draft HTTPbis Agenda For Seoul IETF 97)

Ilari Liusvaara <ilariliusvaara@welho.com> Wed, 19 October 2016 16:56 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 8BBA112967D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 19 Oct 2016 09:56:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.332
X-Spam-Level:
X-Spam-Status: No, score=-7.332 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.431, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham 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 mGx_8Y8fXUJv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 19 Oct 2016 09:56:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7A2FC12962B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 19 Oct 2016 09:56:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1bwu5S-00077K-1Q for ietf-http-wg-dist@listhub.w3.org; Wed, 19 Oct 2016 16:51:30 +0000
Resent-Date: Wed, 19 Oct 2016 16:51:30 +0000
Resent-Message-Id: <E1bwu5S-00077K-1Q@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <ilariliusvaara@welho.com>) id 1bwu5N-00076T-Dg for ietf-http-wg@listhub.w3.org; Wed, 19 Oct 2016 16:51:25 +0000
Received: from welho-filter2.welho.com ([83.102.41.24]) by maggie.w3.org with esmtp (Exim 4.80) (envelope-from <ilariliusvaara@welho.com>) id 1bwu5L-0006Ni-76 for ietf-http-wg@w3.org; Wed, 19 Oct 2016 16:51:24 +0000
Received: from localhost (localhost [127.0.0.1]) by welho-filter2.welho.com (Postfix) with ESMTP id BF13D13C38; Wed, 19 Oct 2016 19:50:55 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp2.welho.com ([IPv6:::ffff:83.102.41.85]) by localhost (welho-filter2.welho.com [::ffff:83.102.41.24]) (amavisd-new, port 10024) with ESMTP id 6vig9E1i9CVE; Wed, 19 Oct 2016 19:50:53 +0300 (EEST)
Received: from LK-Perkele-V2 (87-100-237-87.bb.dnainternet.fi [87.100.237.87]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp2.welho.com (Postfix) with ESMTPSA id 284C221C; Wed, 19 Oct 2016 19:50:53 +0300 (EEST)
Date: Wed, 19 Oct 2016 19:50:45 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Van Catha <vans554@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20161019165045.GA4278@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CAOdDvNrLJVxrPV54Jk3gKXmnZQQo8KGhaaCUu19phCLsP_H9zQ@mail.gmail.com> <CAG-EYCiJQQBe5_=vSn5sCC2inJgj+Pc6ePxgzw20AyzY1hAq7w@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CAG-EYCiJQQBe5_=vSn5sCC2inJgj+Pc6ePxgzw20AyzY1hAq7w@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Received-SPF: none client-ip=83.102.41.24; envelope-from=ilariliusvaara@welho.com; helo=welho-filter2.welho.com
X-W3C-Hub-Spam-Status: No, score=-5.6
X-W3C-Hub-Spam-Report: AWL=-1.346, BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.31, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1bwu5L-0006Ni-76 fc4934d4015efab3df886460f16afe45
X-Original-To: ietf-http-wg@w3.org
Subject: Quick review for draft-svirid-websocket2-over-http2 (Was: Re: Draft HTTPbis Agenda For Seoul IETF 97)
Archived-At: <http://www.w3.org/mid/20161019165045.GA4278@LK-Perkele-V2.elisa-laajakaista.fi>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/32644
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: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On Wed, Oct 19, 2016 at 10:03:18AM -0400, Van Catha wrote:
> I am particularly interest in the future of 2 way binary streaming.  So the
> topics of WebSocket, Streams API and other related. I have even put forward
> a draft related to the WebSocket part.
> https://datatracker.ietf.org/doc/draft-svirid-websocket2-over-http2/

Some quick review comments:

- The handshake seems to negotiate compression and then the frames
  contain compression method indicator. Are there really multiple
  compression methods available on per-frame basis, or should the
  compression just be 1 bit (compressed or not)?
- The abbrevations in frame diagram are bit difficult to understand
  (have those be expanded in above text?).
- Somebody needs to try what this does against many HTTP/2 origins
  that don't support WebSockets2 and against intermediaries with
  custom server that actually supports it. Just to see what the
  heck happens (if it is nasty, one might need to use SETTINGS to
  signal support, either for WebSockets directly or for some sort
  of strict scheme).
- What is "valid UTF-8" exactly? E.g. does it contain encodings for
  Unicode noncharacters?


-Ilari