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

Cory Benfield <cory@lukasa.co.uk> Tue, 21 July 2015 12:51 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 D59501A1BEE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Jul 2015 05:51:22 -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 zx-eDIPCa0Ny for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Jul 2015 05:51:19 -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 2A17C1A1C06 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Jul 2015 05:51:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ZHWyX-00020D-JC for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Jul 2015 12:48:49 +0000
Resent-Date: Tue, 21 Jul 2015 12:48:49 +0000
Resent-Message-Id: <E1ZHWyX-00020D-JC@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 <cory@lukasa.co.uk>) id 1ZHWyU-0001zA-9Z for ietf-http-wg@listhub.w3.org; Tue, 21 Jul 2015 12:48:46 +0000
Received: from mail-wg0-f48.google.com ([74.125.82.48]) by maggie.w3.org with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from <cory@lukasa.co.uk>) id 1ZHWyS-0005bI-Rh for ietf-http-wg@w3.org; Tue, 21 Jul 2015 12:48:45 +0000
Received: by wgmn9 with SMTP id n9so155527650wgm.0 for <ietf-http-wg@w3.org>; Tue, 21 Jul 2015 05:48:17 -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:content-transfer-encoding:message-id:references :to; bh=6rqJJNLL4oq38F/d/om5T5DPoEG/PR4VTw/DlfXRffQ=; b=eo2xbqa0dM8EdaBoUX5ew7DJzYaH7Q76h9dNaWxLEsWAPy4XFcliK60VJbT/g9oIDl r5C4FVHWww9CdEq8jKWjw36v/tu387sW/Y2gj/4iVd1KY+RW3SabCW0kTl3suPO4lnIj g3a+YtLK84YYdRYwWHVE659zommxkZahcR8BZgBvBsSPsb5h3/VurdTbaGnCHsto8sDp I5pd24BNp57Jm0LvVpVLS12UIIfVway+iVNd9HCTHO56s+4XITqETrQMFq5gDZxKIn64 tgs159GMMNKGUEuzg0ywZ37hsNCTZhIyWJMFL3mKthj3uHPlrqpsdsobZwLfmpn3pAH+ ABbw==
X-Gm-Message-State: ALoCoQmnsxnFmBnUo9vucmlgz4f16D8unXYXHmLU0u2ErZVKq/k22mNI/Z5JNbyCY1/vG3NowhEa
X-Received: by 10.194.86.161 with SMTP id q1mr68490848wjz.18.1437482897334; Tue, 21 Jul 2015 05:48:17 -0700 (PDT)
Received: from corys-mbp-3.home (host81-129-190-37.range81-129.btcentralplus.com. [81.129.190.37]) by smtp.gmail.com with ESMTPSA id b13sm16707158wic.15.2015.07.21.05.48.15 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jul 2015 05:48:16 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Cory Benfield <cory@lukasa.co.uk>
In-Reply-To: <20150720164111.GA4353@LK-Perkele-VII>
Date: Tue, 21 Jul 2015 13:48:13 +0100
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <91F58AAC-FEBA-44AB-AC9B-D6C785A947FC@lukasa.co.uk>
References: <20150720154654.4782.23539.idtracker@ietfa.amsl.com> <E129FA4F-D9A5-423F-9AF1-BFA8E2B475D4@lukasa.co.uk> <20150720164111.GA4353@LK-Perkele-VII>
To: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
X-Mailer: Apple Mail (2.2102)
Received-SPF: pass client-ip=74.125.82.48; envelope-from=cory@lukasa.co.uk; helo=mail-wg0-f48.google.com
X-W3C-Hub-Spam-Status: No, score=-4.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1ZHWyS-0005bI-Rh b5189fae0af8316a5a993419232f4ec6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-benfield-http2-p2p-00.txt
Archived-At: <http://www.w3.org/mid/91F58AAC-FEBA-44AB-AC9B-D6C785A947FC@lukasa.co.uk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/30013
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 20 Jul 2015, at 17:41, Ilari Liusvaara <ilari.liusvaara@elisanet.fi> wrote:
> 

Thanks for the feedback Ilari! It’s much appreciated

> The seemingly only reason server-side SETTINGS_PEER_TO_PEER
> is if client wants to wait for acknowledge of server support
> before sending its CLIENT_AUTHORITY frames. But omitting that
> wait would just cause the CLIENT_AUTHORITY frames to be harmlessly
> ignored.

That’s not the reason. The reason the server would emit SETTINGS_PEER_TO_PEER is to indicate that it’s willing to accept PUSH_PROMISE frames sent from the client. Note that this spec forbids the client from pushing streams without that setting being sent by the server.

I don’t *think* the spec is unclear here, but I’d welcome suggestions for clearer wording if you have any.


> What are the semantics if client sends multiple CLIENT_AUTHRORITY
> frames?

Good question, I’ll update the spec to cover this. The best approach seems to be to say that each CLIENT_AUTHORITY frame is the complete set of information, so any subsequent CLIENT_AUTHORITY frame overrides the information in earlier ones.

> The document seems to assume authorities are always global, not
> either global or of restricted scope (including link-local).
> But usage of authorities of restricted scope has its own issues.

Yeah, this is tricky. I’m not sure whether any guidance can be given here without making the matter even less clear.

> The descriptions of PUSH_PROMISE behavior look bit convoluted.
> 
> One seems to say that (given certain conditions) server MAY
> set SETTINGS_PUSH_PROMISE to 1.
> 
> The other seems to say that to push, one must have per-stream
> server role on associated stream.

Both things are true. In order to push a stream, the remote peer must have sent SETTINGS_PUSH_PROMISE with value 1, and also the local peer must have per-stream server role on the associated stream. Can you suggest some clearer wording for this?

Cory