Re: HTTP2 server-side stream creation

Stefan Eissing <stefan.eissing@greenbytes.de> Mon, 13 July 2015 08:12 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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AA9551AD350 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Jul 2015 01:12:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.212
X-Spam-Level:
X-Spam-Status: No, score=-4.212 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 sOeVkIbR-BZA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Jul 2015 01:12:36 -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 ED85F1AD34F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 13 Jul 2015 01:12:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ZEYms-0000I5-RE for ietf-http-wg-dist@listhub.w3.org; Mon, 13 Jul 2015 08:08:30 +0000
Resent-Date: Mon, 13 Jul 2015 08:08:30 +0000
Resent-Message-Id: <E1ZEYms-0000I5-RE@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <stefan.eissing@greenbytes.de>) id 1ZEYmp-0000HJ-82 for ietf-http-wg@listhub.w3.org; Mon, 13 Jul 2015 08:08:27 +0000
Received: from mail.greenbytes.de ([217.91.35.233]) by lisa.w3.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from <stefan.eissing@greenbytes.de>) id 1ZEYmn-00089Y-80 for ietf-http-wg@w3.org; Mon, 13 Jul 2015 08:08:26 +0000
Received: from mod-h2.greenbytes.de (unknown [5.10.171.186]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail.greenbytes.de (Postfix) with ESMTPSA id B657D15A0159; Mon, 13 Jul 2015 10:07:59 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Stefan Eissing <stefan.eissing@greenbytes.de>
In-Reply-To: <176309E8-2989-4A58-8BAF-850C76EA2CC9@lukasa.co.uk>
Date: Mon, 13 Jul 2015 10:07:58 +0200
Cc: Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <91BE1A60-4ABF-403B-B678-357AB12682DF@greenbytes.de>
References: <CAEfxk=uOpnU5Q_XXNZTw_Rr8VAD86dqWYDhRJW2mg5+E1jmvRw@mail.gmail.com> <39FF53D5-25BE-4418-B7BD-C1E512166660@lukasa.co.uk> <2B54CD64-BD75-4EEC-9F19-D3B8887BCA3E@greenbytes.de> <CAH_hAJFGJUAnyHpprRFAhJaw=ePVCCBQpxv3DzQNUdKGRnKKpA@mail.gmail.com> <559FB560.5030205@treenet.co.nz> <CAH_hAJEnqBCSpr9BkeX0waPMxSR_w7jjpJmBeYy5SJ16F6p2tg@mail.gmail.com> <55A00784.80205@treenet.co.nz> <6A1C495E-6AE1-455D-9981-EEA8B9336DCF@lukasa.co.uk> <E958000F-FDF9-41B5-A1ED-60B7BE772963@greenbytes.de> <176309E8-2989-4A58-8BAF-850C76EA2CC9@lukasa.co.uk>
To: Cory Benfield <cory@lukasa.co.uk>
X-Mailer: Apple Mail (2.2102)
Received-SPF: pass client-ip=217.91.35.233; envelope-from=stefan.eissing@greenbytes.de; helo=mail.greenbytes.de
X-W3C-Hub-Spam-Status: No, score=-5.8
X-W3C-Hub-Spam-Report: AWL=-0.454, BAYES_00=-1.9, RP_MATCHES_RCVD=-1.428, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1ZEYmn-00089Y-80 cabc10e3fe8a1bce5dc5a837d8fe24bf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP2 server-side stream creation
Archived-At: <http://www.w3.org/mid/91BE1A60-4ABF-403B-B678-357AB12682DF@greenbytes.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/29939
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>

> Am 12.07.2015 um 12:09 schrieb Cory Benfield <cory@lukasa.co.uk>:
> 
>> 
>> On 11 Jul 2015, at 09:04, Stefan Eissing <stefan.eissing@greenbytes.de> wrote:
>> ...

>> This should make it easy for intermediaries to make informed decisions about routing such streams or even announcing services themselves.
>> 
>> //stefan
>> 
> 
> I don’t think this model works quite right. The semantic of PUSH_PROMISE is that the server provides both the request and its response. This does not allow the client to serve HTTP because it does not allow the client to generate its responses itself. This model allows for a non-HTTP bi-directional communication stream, but does not move to a fully P2P solution.

Yeah, you probably rigtht. It might bend the normal http/2 model more than necessary.

So, the issue remains with server-initiated streams to define what they exactly connect against. In the case of special data backend server connections, this might be clear by the configuration of it, so outside of protocol context. And for that it is useful, no doubt. For it to work in the wild net, something is missing, I think.

//Stefan

<green/>bytes GmbH
Hafenweg 16, 48155 Münster, Germany
Phone: +49 251 2807760. Amtsgericht Münster: HRB5782