Re: WiSH: A General Purpose Message Framing over Byte-Stream Oriented Wire Protocols (HTTP)

Van Catha <vans554@gmail.com> Thu, 01 December 2016 03:11 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 C9C8F129437 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 30 Nov 2016 19:11:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.396
X-Spam-Level:
X-Spam-Status: No, score=-9.396 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.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-2.896, SPF_HELO_PASS=-0.001, SPF_PASS=-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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kffZVIV1_pAe for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 30 Nov 2016 19:11:13 -0800 (PST)
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 DF4F3126579 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 30 Nov 2016 19:11:12 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1cCHiW-0002Ev-Rq for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Dec 2016 03:07:24 +0000
Resent-Date: Thu, 01 Dec 2016 03:07:24 +0000
Resent-Message-Id: <E1cCHiW-0002Ev-Rq@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <vans554@gmail.com>) id 1cCHiL-0002DJ-1Y for ietf-http-wg@listhub.w3.org; Thu, 01 Dec 2016 03:07:13 +0000
Received: from mail-qt0-f178.google.com ([209.85.216.178]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <vans554@gmail.com>) id 1cCHiD-0001tO-Ls for ietf-http-wg@w3.org; Thu, 01 Dec 2016 03:07:07 +0000
Received: by mail-qt0-f178.google.com with SMTP id c47so208357985qtc.2 for <ietf-http-wg@w3.org>; Wed, 30 Nov 2016 19:06:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=+1nwB4MFgTFxZ94NoI0U0fIVSCj51HbebxWV+KxLMQ8=; b=Tg4p8WHybtYtjvQB4d8jjN47bBCNpXCHGWfxM+YWESzAuAmQaY7mliPvcKz5jYCZsi xmPiXlpn1LH9zzZPt/cGDQf2nYLOdUjh2cglnRBkta1EWjUHYMZvA6eFMbS0/J3jVRjj UgNm8Lfk4EBWbxz6FrNS52RgOqqeP6LC6EfTpRgGbyX1AV1WpijIMnfXgUbnwV6ue2wZ O8FJsWIDLs/07F1T/SyysmD0HftbJVjIThKT4ZF/6k9xXc4yb0IF16p03OCyB5oJ2Xk4 OlQk43l0LazAEKXWHZshAVcN3pbI5V5GqwICKPdvfSTbPL8wuL1agNSqRHFt4XnEk2C/ n+nw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=+1nwB4MFgTFxZ94NoI0U0fIVSCj51HbebxWV+KxLMQ8=; b=Bh7t5/64VjN/f6h+ttk7EjPcnsjfSDFOGktP8BaUfNuuJSigJMHemfYYehOw9IuOdQ lZDXh+MLui3NCI5PMXwB4LRZ27axmIhh4JJQ/+Y3PqyJeDpJnA20C4B36IdarmYUPzYc zSnyUkUjhEEUstCVCpoc9fEu5jScwqG4kqQuY2vCYn/IZzEyofPhesy9DgAXtTWiUV01 cfEhQ92ZpyrzXSfpSBkVswCPTkAMMfI/fQ19k3on0c7HFzdW83sP4/RHJDWZv2xF5EZM nxh2eoNvQDrl2f90lf3TVVj0SKwQsMUcAPFcixKMeMJnr8YkWo4MZIQYY19f+KYts0Nn H0iQ==
X-Gm-Message-State: AKaTC01hEKwSNEW3+2hKQo3pI+Uhr6UNT2loDumWFBHkG1J/REWSGKlPwx3l/W3F6gX4RlVstkqbY+DDXvgMsA==
X-Received: by 10.200.42.4 with SMTP id k4mr36071885qtk.86.1480561598584; Wed, 30 Nov 2016 19:06:38 -0800 (PST)
MIME-Version: 1.0
Received: by 10.55.209.8 with HTTP; Wed, 30 Nov 2016 19:06:38 -0800 (PST)
In-Reply-To: <BN6PR03MB2708FEE0880AB9BDB1B4778B878C0@BN6PR03MB2708.namprd03.prod.outlook.com>
References: <CAH9hSJZB0SyFiqLqLjd9R-T11yTa12Ekb-H8hYwfc6FeOjD2xQ@mail.gmail.com> <CAP8-FqmU+uBas5zH8oQHkt0zh18YrBm-O-umGPGMkLAjShw1Gw@mail.gmail.com> <CAH9hSJa10DLSozTpXjETyFX0bVYqfRbRFJnmFQNRGeSuZVKWPQ@mail.gmail.com> <CAG-EYChszHdWhp=o+fdOW+pAN90t61MExzsLnteM3tmf9=N0Yw@mail.gmail.com> <CAH9hSJbNk83FT0WqB1tHJvEfaU5CMoAaKRdvy8NTb4zgEUdzBw@mail.gmail.com> <CAG-EYCjwptZcsHeDKwyRBhLTREEC4zxXxtTZvNLe2m1ei2r55g@mail.gmail.com> <437A6E14-03A9-42DD-A4B8-921C80EC5729@mnot.net> <1480035079.3044.1.camel@warmcat.com> <8E039C1D-A9B6-40E4-937E-A55D327FBDC5@mnot.net> <1480041123.3044.3.camel@warmcat.com> <20161125065208.GB4488@1wt.eu> <CAH9hSJacZp4LqAp61yCTsVqSeomSc5aZfTFjQUfbmHrOqr3VGg@mail.gmail.com> <DCFCC7B0-717E-496A-8B4D-C409A1B965F0@mnot.net> <CAG-EYCiVExcyHLoXB1ixQCKduxUPTVOnVX1XrmFJ3b72Y8AAFg@mail.gmail.com> <68448.1480281530@critter.freebsd.dk> <BN6PR03MB2708FEE0880AB9BDB1B4778B878C0@BN6PR03MB2708.namprd03.prod.outlook.com>
From: Van Catha <vans554@gmail.com>
Date: Wed, 30 Nov 2016 22:06:38 -0500
Message-ID: <CAG-EYCj6kn=MwAZf9t=pKFChQV=m4jYFXXBhKAy_8GiMe9Vz0g@mail.gmail.com>
To: Mike Bishop <Michael.Bishop@microsoft.com>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, Mark Nottingham <mnot@mnot.net>, Takeshi Yoshino <tyoshino@google.com>, Willy Tarreau <w@1wt.eu>, Andy Green <andy@warmcat.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, Wenbo Zhu <wenboz@google.com>, Martin Thomson <martin.thomson@gmail.com>
Content-Type: multipart/alternative; boundary="001a1138fa2a26df660542901c3e"
Received-SPF: pass client-ip=209.85.216.178; envelope-from=vans554@gmail.com; helo=mail-qt0-f178.google.com
X-W3C-Hub-Spam-Status: No, score=-5.1
X-W3C-Hub-Spam-Report: AWL=-1.130, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1cCHiD-0001tO-Ls 34da65ff7c099ec9588b691ab35612b7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WiSH: A General Purpose Message Framing over Byte-Stream Oriented Wire Protocols (HTTP)
Archived-At: <http://www.w3.org/mid/CAG-EYCj6kn=MwAZf9t=pKFChQV=m4jYFXXBhKAy_8GiMe9Vz0g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33057
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>

> HTTP/2 makes many of the pre-WebSocket solutions to this problem space
much cheaper.  QUIC will probably make it even more so.
> If there are people who feel strongly that WebSockets still meet a need
over a modern HTTP, I'm happy to read and occasionally comment,
> but I don't feel called to be integral to that work.

At this point I wonder if there is a need for a separate solution.  Making
websockets go over HTTP2 seems to bring up the bureaucratic problems of the
past.  If websocket can be its own thing, then have an implementation for
HTTP2 and another one for QUIC, I think it can see more success.  The
reason for this is both protocols (HTTP2 and QUIC) have their own way of
trammiting data frames.  Websocket in this case should become an
alternative frame type, basically one carrying a binary payload.  All the
previous baggage of websocket1 can be dropped like the distinction between
text/binary frames as well as ping/pong and close. So we end up with just 1
frame type.

Compression would be left up to the client js / server code.  The
websocket2 would be a super simple two way binary stream.

This is pretty self explanatory, the major problem is how you do handle
authentication now.

On Wed, Nov 30, 2016 at 2:29 PM, Mike Bishop <Michael.Bishop@microsoft.com>
wrote:

> QUIC's charter doesn't have anything directly to do with WebSockets.  But
> I agree that since WebSockets came from a different WG, it might be a
> reasonable question to the ADs whether that working group should be
> rechartered to do an HTTP/2 or HTTP/QUIC port.
>
> HTTP/2 makes many of the pre-WebSocket solutions to this problem space
> much cheaper.  QUIC will probably make it even more so.  If there are
> people who feel strongly that WebSockets still meet a need over a modern
> HTTP, I'm happy to read and occasionally comment, but I don't feel called
> to be integral to that work.
>
> -----Original Message-----
> From: Poul-Henning Kamp [mailto:phk@phk.freebsd.dk]
> Sent: Sunday, November 27, 2016 1:19 PM
> To: Van Catha <vans554@gmail.com>
> Cc: Mark Nottingham <mnot@mnot.net>; Takeshi Yoshino <tyoshino@google.com>;
> Willy Tarreau <w@1wt.eu>; Andy Green <andy@warmcat.com>;
> ietf-http-wg@w3.org Group <ietf-http-wg@w3.org>; Wenbo Zhu <
> wenboz@google.com>; Martin Thomson <martin.thomson@gmail.com>
> Subject: Re: WiSH: A General Purpose Message Framing over Byte-Stream
> Oriented Wire Protocols (HTTP)
>
> --------
> In message <CAG-EYCiVExcyHLoXB1ixQCKduxUPTVOnV
> X1XrmFJ3b72Y8AAFg@mail.gmail.com>
> , Van Catha writes:
>
> >So can we form a new WG then and focus on doing this right vs making
> >WebSocket2.  The focus earlier was to get the already coded clients and
> >API (websocket API) to be able to work with websockets layered on
> >HTTP2/QUIC, if we are in it for the long haul now we might as well form
> >a new group and create something more long term?
>
> Apologies for asking a stupid question, but isn't that exactly what QUIC
> is all about in the first place ?
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
>