Re: 6455 Websockets and the relationship to HTTP

Cory Benfield <cory@lukasa.co.uk> Fri, 02 December 2016 11:39 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 5AF0A129D1C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 2 Dec 2016 03:39:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.797
X-Spam-Level:
X-Spam-Status: No, score=-9.797 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-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=lukasa-co-uk.20150623.gappssmtp.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 IBThcWtjtfCS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 2 Dec 2016 03:39:08 -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 53152129DB8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 2 Dec 2016 03:38:31 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1cCm78-0002Ez-IV for ietf-http-wg-dist@listhub.w3.org; Fri, 02 Dec 2016 11:34:50 +0000
Resent-Date: Fri, 02 Dec 2016 11:34:50 +0000
Resent-Message-Id: <E1cCm78-0002Ez-IV@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <cory@lukasa.co.uk>) id 1cCm6v-0002DQ-3O for ietf-http-wg@listhub.w3.org; Fri, 02 Dec 2016 11:34:37 +0000
Received: from mail-wj0-f177.google.com ([209.85.210.177]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <cory@lukasa.co.uk>) id 1cCm6o-0000a8-Hq for ietf-http-wg@w3.org; Fri, 02 Dec 2016 11:34:31 +0000
Received: by mail-wj0-f177.google.com with SMTP id qp4so229642321wjc.3 for <ietf-http-wg@w3.org>; Fri, 02 Dec 2016 03:33:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lukasa-co-uk.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=htW/aw4SpAVTIkywFqYGqcwAICyUwNAub3UzpNTClc8=; b=vTQLkKZj4caDk9o6zwoDaD1pvIJfvrXHhdjJS/H4mnL09aknCUfmn/OFZBLVeU16Hq Hx+ugDiQW83ye1PSqKiWS/UDH2TuFX5RC0reVQXFGVn4ZuOvFagP7xNIpcRzL5tdTEcS pB1UcCtKYU6KukP0kXKqHnpXz5BQc9ujRUV6XEGODNl5fgFEuAcSVYHeXENOcZk1gNrw 8iEp1lHMbDBqsSEloK2ZnrE4xcIJJ3jk0L34MNsDyaE8OXyxxIY/4M9zqDt34c3GGPAh YTX+IafGbsWFyUV1zSARHgICnQkbojsT5aiFn9dhH9JxoImC8poR7MFJimatQlHBGHc8 tY3g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=htW/aw4SpAVTIkywFqYGqcwAICyUwNAub3UzpNTClc8=; b=XXH14ad8rilkp+FgIZmbvJTPTX9mVn/AqK/qcjaDPqjuvmeK5iWtOT/3hPCeMqDpY4 wwef2inxnnLyyUsk3lMBKqqHy0/RNy7ZSQph0PJ4SxfFgoktx4xQ1kCpqG7az5sJhiS5 WK62x0jdJtT2UOGtxGCGmfgjvppR2C7IprN7sJhB2tJTr12BvZgXj+eQr9/GNcPvrNNT lgZmEzHuzqXyBIqRSzDkLfEp2I5NdJOFS79a+oyYAEuif45GHJdEzFKFkbT4CSKEyEeh ZC6ZLBfhHKddrKuJmD8EY2nOhQXoH8TfNq3/J7z34nOHPS893klSUSMCSQ3OXKsgStXp XGFw==
X-Gm-Message-State: AKaTC02FBkCTPbLe+Bdvz3YoH58Xf0M0Xhv3L4GqMYMRT9/4hpC0WwWDzlXTOcDlBYNUDg==
X-Received: by 10.194.172.42 with SMTP id az10mr38687585wjc.145.1480678429999; Fri, 02 Dec 2016 03:33:49 -0800 (PST)
Received: from [192.168.1.5] (72.6.208.46.dyn.plus.net. [46.208.6.72]) by smtp.gmail.com with ESMTPSA id p144sm2723467wme.23.2016.12.02.03.33.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Dec 2016 03:33:47 -0800 (PST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3257\))
From: Cory Benfield <cory@lukasa.co.uk>
In-Reply-To: <1480650234.4219.23.camel@warmcat.com>
Date: Fri, 2 Dec 2016 11:33:45 +0000
Cc: Patrick McManus <mcmanus@ducksong.com>, Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <CFF6942F-63CD-4668-B978-6E712A6A8B3D@lukasa.co.uk>
References: <CAOdDvNqk7W_oNWUismMb-ZuhvdboZNDQ0YV2BLsbka-FGC-7oA@mail.gmail.com> <39F32B28-7116-478A-B02A-E8310EA6E189@mnot.net> <CABkgnnVZeLQGES5Dige8u+ukSgqSfJNKiCuL=oK3gQnAb_3LNw@mail.gmail.com> <CANatvzwoUYaC_YPTTF6fdwN5aOiwrttyH9Xj7xYVR1i1DZ27bA@mail.gmail.com> <037D2D57-7423-4375-9FEC-50B3106F42ED@mnot.net> <CANatvzx=mOQ3kE-vnvwNvD2w26+RNTueHgu7BhHLnJixn0vRcw@mail.gmail.com> <9e6f1a46-a782-a688-5b16-836d28032823@treenet.co.nz> <1480646012.4219.21.camel@warmcat.com> <CAOdDvNqShPUdu6zt-dPDpXm31eP2xX_dahrTr8JEbOOGQFFNSw@mail.gmail.com> <1480650234.4219.23.camel@warmcat.com>
To: Andy Green <andy@warmcat.com>
X-Mailer: Apple Mail (2.3257)
Received-SPF: pass client-ip=209.85.210.177; envelope-from=cory@lukasa.co.uk; helo=mail-wj0-f177.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: AWL=1.343, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1cCm6o-0000a8-Hq cfc4574f1e8766e749232a32a8a58708
X-Original-To: ietf-http-wg@w3.org
Subject: Re: 6455 Websockets and the relationship to HTTP
Archived-At: <http://www.w3.org/mid/CFF6942F-63CD-4668-B978-6E712A6A8B3D@lukasa.co.uk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33088
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 2 Dec 2016, at 03:43, Andy Green <andy@warmcat.com> wrote:
> 
> The basic problem is you can't deploy an h2 server that also does ws,
> even in a not very efficient way.  This seems like something failed
> somewhere, and one way or another should be enabled.
> 
> ^--- that's all the "convincing" I plan to do.

I assume that what you mean here is you can’t deploy a H2 *only* server that also does WS: that is, a server with no HTTP/1.1 stack.

To which I reply: so what? Last I looked no-one was deploying servers that can *only* do HTTP/2 except in very specific cases where they are deliberately seeing the HTTP/2 use-cases (the only two instances I know of are Apple’s new Push Notification Service and Amazon’s Alexa API, both of which are HTTP/2 only: presumably they considered and rejected the use of WS, and it didn’t stop them shipping their product).

I don’t think anyone is planning to move to a HTTP/2-only server stack anytime soon, and we have a whole bunch of servers that have mature and battle-tested HTTP/1.1 stacks that aren’t going anywhere. So I’m not really convinced that there’s any demand for H2-only + WS. Of course, I might be wrong (I’m wrong a lot).

Cory