Re: New Version Notification for draft-benfield-http2-p2p-01.txt

Amos Jeffries <squid3@treenet.co.nz> Mon, 24 August 2015 16:05 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 E0D1C1A8860 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 24 Aug 2015 09:05:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.912
X-Spam-Level:
X-Spam-Status: No, score=-6.912 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 K8LgCgsMNkUu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 24 Aug 2015 09:05:51 -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 B13CD1A88C1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 24 Aug 2015 09:05:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ZTuDb-0007ex-8b for ietf-http-wg-dist@listhub.w3.org; Mon, 24 Aug 2015 16:03:31 +0000
Resent-Date: Mon, 24 Aug 2015 16:03:31 +0000
Resent-Message-Id: <E1ZTuDb-0007ex-8b@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 <squid3@treenet.co.nz>) id 1ZTuDX-0007eB-K4 for ietf-http-wg@listhub.w3.org; Mon, 24 Aug 2015 16:03:27 +0000
Received: from 121-99-228-82.static.orcon.net.nz ([121.99.228.82] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.80) (envelope-from <squid3@treenet.co.nz>) id 1ZTuDV-0006St-Ff for ietf-http-wg@w3.org; Mon, 24 Aug 2015 16:03:27 +0000
Received: from [192.168.20.251] (unknown [121.98.42.176]) by treenet.co.nz (Postfix) with ESMTP id 4EA07E6D99 for <ietf-http-wg@w3.org>; Tue, 25 Aug 2015 04:02:57 +1200 (NZST)
To: ietf-http-wg@w3.org
References: <20150726170938.12513.1861.idtracker@ietfa.amsl.com> <13071803-2F6D-45F1-A87E-FAF7FD4C2308@lukasa.co.uk> <CAEv2VfLr=SDoBxxhioa9B7AsvJ58cqPts5zbs8ugdwAtkCXhEQ@mail.gmail.com> <E88417D2-67F5-4B0A-A484-883D528DA80B@ipfs.io> <CAH_hAJEtqwa8Y8-HAx0Q0_cYSJVhQ3cH9cV9KPt5rTe6W2FS2A@mail.gmail.com>
From: Amos Jeffries <squid3@treenet.co.nz>
Message-ID: <55DB4012.6070203@treenet.co.nz>
Date: Tue, 25 Aug 2015 04:02:26 +1200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
MIME-Version: 1.0
In-Reply-To: <CAH_hAJEtqwa8Y8-HAx0Q0_cYSJVhQ3cH9cV9KPt5rTe6W2FS2A@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=121.99.228.82; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-4.7
X-W3C-Hub-Spam-Report: AWL=-0.123, BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1ZTuDV-0006St-Ff e61102100a41166a8aaac100d05984f8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-benfield-http2-p2p-01.txt
Archived-At: <http://www.w3.org/mid/55DB4012.6070203@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/30108
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 24/08/2015 8:33 p.m., Cory Benfield wrote:
> On 23 August 2015 at 15:27, David Dias <daviddias@ipfs.io> wrote:
>> Does this mean that a HTTP2-P2P client would have to announce every single
>> authority it is willing to accept requests from?
> 
> Nope, you have this backward. The client announces what authorities it
> believes *it is*. This is necessary because the server (turned client)
> needs to know what authority it is requesting data from (at the very
> least to populate the :authority pseudo-header field) when it makes
> requests.
> 
> The flow is as follows:
> 
> Client initiates connection to 'h2peer.com', and offers H2 P2P.
> It emits a CLIENT_AUTHORITY frame indicating that the client believes
> it is authority 'h2peer2.com'
> Server verifies the client's IP address against a static list to
> confirm that the client actually is 'h2peer2.com'
> Client can now make HTTP requests to the server (authority h2peer.com)
> and the server can make requests to the client (authority
> h2peer2.com).
> 

Nit pick: if this gets anywhere near a spec make sure the example
authority names are clearly and instantly distinguishable from each
other. One digit is still quite mind-boggling.


> 
>> I believe the intended behaviour would be for a server to be able to send a
>> PUSH_PROMISE frame on a client-initiated stream (a first request from the
>> client) and not on a server-initiate stream.
> 
> I think this represents a problem with the ambiguity of 'client' and
> 'server'. This should really be saying that PUSH_PROMISE frames can
> only be sent on streams that the given peer did not initiate. I'll
> attempt to reword with 'dialer' and 'listener' (or something similar)
> to avoid the ambiguity.


I think that wording you just used is probably the most clear its going
to get:

> PUSH_PROMISE frames can
> only be sent on streams that the given peer did not initiate.


Amos