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

David Dias <daviddias@ipfs.io> Sun, 23 August 2015 14:31 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 772F21A70FD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 23 Aug 2015 07:31:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level:
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HTML_MESSAGE=0.001, 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 3If9DltqMyrz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 23 Aug 2015 07:31:52 -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 989EB1A70E1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 23 Aug 2015 07:31:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ZTWG2-0004io-Ji for ietf-http-wg-dist@listhub.w3.org; Sun, 23 Aug 2015 14:28:26 +0000
Resent-Date: Sun, 23 Aug 2015 14:28:26 +0000
Resent-Message-Id: <E1ZTWG2-0004io-Ji@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 <daviddias@ipfs.io>) id 1ZTWFw-0004i3-Ew for ietf-http-wg@listhub.w3.org; Sun, 23 Aug 2015 14:28:20 +0000
Received: from mail-wi0-f171.google.com ([209.85.212.171]) by maggie.w3.org with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from <daviddias@ipfs.io>) id 1ZTWFu-0002lL-Gz for ietf-http-wg@w3.org; Sun, 23 Aug 2015 14:28:19 +0000
Received: by wicja10 with SMTP id ja10so51181226wic.1 for <ietf-http-wg@w3.org>; Sun, 23 Aug 2015 07:27:51 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=yHHNjWWSPpbks+EfPOXiY1xOkDCw4hy7KU/yNqBWoPc=; b=nL1/j7sVCuMbLefGeBwWXdPbsF1+64F1oebemAYGM/DEh3DH9uZ8MK1yfc7uCL2XNy 37FRaER4lXIHXd5PWa+oLhVkqKCjxiN7M4maSSEVHkGkBOn8kBsunwkoae1du3dfNm3s ZpzcD7nkKFyGqGY8+a4vIivXPGF5QdeizYcRLgzxgkffu+pZXYhwk98w7NmMXzGEtGih TlehltVtfwrKrMZVGHEB6zI4l8xFr+zwZ8yDq2X1Hw3j9+fYFFlal7+4pTii3JRzEl3Y UiIdizv7/6LylaXBJ4QuJwjmhdrYrklGyD0lMeB4YVj7wPvZqS6RkHJla4RYX96BI0ZA vjog==
X-Gm-Message-State: ALoCoQm2nJ+6onOzyqEe7TSowdLgIgfBXxe6Gl9UJfPKxOlj7XGrACwjSrQRA2Nw5VuS4qDtmxqx
X-Received: by 10.194.176.201 with SMTP id ck9mr31678475wjc.108.1440340071312; Sun, 23 Aug 2015 07:27:51 -0700 (PDT)
Received: from [192.168.10.129] (a79-169-42-56.cpe.netcabo.pt. [79.169.42.56]) by smtp.gmail.com with ESMTPSA id pg5sm18862113wjb.21.2015.08.23.07.27.49 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 23 Aug 2015 07:27:50 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail=_457AD607-A42C-4A60-B306-7EC6732F209F"
Mime-Version: 1.0 (Mac OS X Mail 9.0 \(3083\))
From: David Dias <daviddias@ipfs.io>
In-Reply-To: <CAEv2VfLr=SDoBxxhioa9B7AsvJ58cqPts5zbs8ugdwAtkCXhEQ@mail.gmail.com>
Date: Sun, 23 Aug 2015 15:27:48 +0100
Cc: Cory Benfield <cory@lukasa.co.uk>, ietf-http-wg@w3.org, Glen Knowles <gknowles@ieee.org>, Juan Benet <juan@benet.ai>
Message-Id: <E88417D2-67F5-4B0A-A484-883D528DA80B@ipfs.io>
References: <20150726170938.12513.1861.idtracker@ietfa.amsl.com> <13071803-2F6D-45F1-A87E-FAF7FD4C2308@lukasa.co.uk> <CAEv2VfLr=SDoBxxhioa9B7AsvJ58cqPts5zbs8ugdwAtkCXhEQ@mail.gmail.com>
To: Fedor Indutny <fedor@indutny.com>
X-Mailer: Apple Mail (2.3083)
Received-SPF: none client-ip=209.85.212.171; envelope-from=daviddias@ipfs.io; helo=mail-wi0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-4.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1ZTWFu-0002lL-Gz a67663c7461c09953684b7bfeb662d86
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/E88417D2-67F5-4B0A-A484-883D528DA80B@ipfs.io>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/30091
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>

Hi all,

Apologies for the slow reply, I found myself traveling to a couple of conferences during the month of August that consumed my full availability.

This extension to the HTTP2 Protocol looks very good indeed and fulfils the our expectations of using the robust framing layer designed for HTTP2 in P2P application scenarios. There are just only two segments that I need some clarification, namely:


2.2 CLIENT_AUTHORITY Frame
...
The purpose of this frame is to allow a client to advertise
the authority or authorities for which it is prepared to accept
requests.
Does this mean that a HTTP2-P2P client would have to announce every single authority it is willing to accept requests from? Would it be possible to do this with an header or simply by not sending the SETTINGS_PEER_TO_PEER frame if the client verifies that it is speaking with a server it is not interested in receiving requests from?

2.4 Client Behavioural Changes
…
The client MUST NOT
send a PUSH_PROMISE frame on a stream that it opened by means of a
HEADERS frame: only server-initiated streams may be used for sending
PUSH_PROMISE frames.  All other limitations about PUSH_PROMISE frames
in RFC 7540 [RFC7540] continue to apply, except that the words
'server' and 'client' are defined on a per-stream basis.
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.

One another thing I would like to point out is that we learned that declaring the participants in a connection as ‘dialer’ and ‘listener’ instead of ‘client’ and ‘server’, help achieve a better understanding how the system is designed to be distributed, meaning that every entity speak and implement the same protocol and respective semantics.

Thank you for working on this specification, we are really excited and looking forward to see it as a final RFC, so that we can collaborate on a unified implementation with the other groups who have been implementing their own versions of the spdy/http2 framing layer.

Best regards,




> On 27 Jul 2015, at 01:43, Fedor Indutny <fedor@indutny.com> wrote:
> 
> Thank you, looks even better now!
> 
> On Sun, Jul 26, 2015 at 10:12 AM, Cory Benfield <cory@lukasa.co.uk <mailto:cory@lukasa.co.uk>> wrote:
> I’ve updated the HTTP/2 P2P draft in response to the feedback received this week. Particular thanks to Ilari, who provided substantial feedback and corrections. The major change here is that the server no longer needs to advertise its support for the extension.
> 
> Once again, more feedback would be appreciated!
> 
> Cory
> 
> > Begin forwarded message:
> >
> > From: internet-drafts@ietf.org <mailto:internet-drafts@ietf.org>
> > Subject: New Version Notification for draft-benfield-http2-p2p-01.txt
> > Date: 26 July 2015 18:09:38 BST
> > To: "Cory Benfield" <cory@lukasa.co.uk <mailto:cory@lukasa.co.uk>>, "Cory Benfield" <cory@lukasa.co.uk <mailto:cory@lukasa.co.uk>>
> >
> >
> > A new version of I-D, draft-benfield-http2-p2p-01.txt
> > has been successfully submitted by Cory Benfield and posted to the
> > IETF repository.
> >
> > Name:         draft-benfield-http2-p2p
> > Revision:     01
> > Title:                Peer-to-peer Extension to HTTP/2
> > Document date:        2015-07-26
> > Group:                Individual Submission
> > Pages:                8
> > URL:            https://www.ietf.org/internet-drafts/draft-benfield-http2-p2p-01.txt <https://www.ietf.org/internet-drafts/draft-benfield-http2-p2p-01.txt>
> > Status:         https://datatracker.ietf.org/doc/draft-benfield-http2-p2p/ <https://datatracker.ietf.org/doc/draft-benfield-http2-p2p/>
> > Htmlized:       https://tools.ietf.org/html/draft-benfield-http2-p2p-01 <https://tools.ietf.org/html/draft-benfield-http2-p2p-01>
> > Diff:           https://www.ietf.org/rfcdiff?url2=draft-benfield-http2-p2p-01 <https://www.ietf.org/rfcdiff?url2=draft-benfield-http2-p2p-01>
> >
> > Abstract:
> >   This document introduces a negotiated extension to HTTP/2 that turns
> >   a single HTTP/2 connection into a bi-directional communication
> >   channel.
> >
> >
> >
> >
> > Please note that it may take a couple of minutes from the time of submission
> > until the htmlized version and diff are available at tools.ietf.org <http://tools.ietf.org/>.
> >
> > The IETF Secretariat
> >
> 
>