Re: [quicwg/base-drafts] This clarifies where PUSH_PROMISE can be sent and gives a clue about … (#957)

Lucas Pardue <notifications@github.com> Wed, 22 November 2017 23:29 UTC

Return-Path: <bounces+848413-a050-quic-issues=ietf.org@sgmail.github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9CDDD129B46 for <quic-issues@ietfa.amsl.com>; Wed, 22 Nov 2017 15:29:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.019
X-Spam-Level:
X-Spam-Status: No, score=-2.019 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=github.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 MNZHObcqhdZ7 for <quic-issues@ietfa.amsl.com>; Wed, 22 Nov 2017 15:29:54 -0800 (PST)
Received: from o10.sgmail.github.com (o10.sgmail.github.com [167.89.101.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B1192129410 for <quic-issues@ietf.org>; Wed, 22 Nov 2017 15:29:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=zPvILMGoGrBZcTDX995m9emd+lI=; b=qmIFsURmZgB04fFr 6jMrkrqaz4huMpwGa2YcTVs21oi7i9SfN77Zesgfjm1ttmKPAuzl37b9/7H2gSJK Kpukwi1qMdqO1iDfmdhb3PioMQtJw6qbItX1c/1jPi8eBsavm/u+mWGBPGF5feLU gdWOqyCkDw11Nj1v9TUajHDK84A=
Received: by filter0344p1iad2.sendgrid.net with SMTP id filter0344p1iad2-3885-5A160871-D 2017-11-22 23:29:53.874982205 +0000 UTC
Received: from github-smtp2b-ext-cp1-prd.iad.github.net (github-smtp2b-ext-cp1-prd.iad.github.net [192.30.253.17]) by ismtpd0020p1iad2.sendgrid.net (SG) with ESMTP id vFRl_BE-QsKO8SKOzgeBLQ for <quic-issues@ietf.org>; Wed, 22 Nov 2017 23:29:53.921 +0000 (UTC)
Date: Wed, 22 Nov 2017 23:29:53 +0000
From: Lucas Pardue <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4aba2b71bf7ed44733a6a3ce4dc9c6b4913f905828492cf00000001162dca7192a169ce1076f36b@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/957/review/78602720@github.com>
In-Reply-To: <quicwg/base-drafts/pull/957@github.com>
References: <quicwg/base-drafts/pull/957@github.com>
Subject: Re: [quicwg/base-drafts] This clarifies where PUSH_PROMISE can be sent and gives a clue about … (#957)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5a160871d5ee5_3b293f8e9a184f30524ea"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: LPardue
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
tracking:
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak1E80TdPbifseB8BB5raea0ZZhLnCHCEjQhKn DyjX6w11V8eytJqvCsd4XDGsVr7nhT9aqTJBGpzMgZNm0Koz51xRHV5KWqFtJeSM8sqFsYBNRmOugt TnfFoxINtqCp5+2vSuFsEEdeFTg7nnaNXd2NIUHjB07AufwQglBcMkuZ83m5Pmwf+tpfbkMm8+DSbi U=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/8Ph2BlfSajFwFFv8G6waJ3ZZYlQ>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.22
List-Id: Notification list for GitHub issues related to the QUIC WG <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Nov 2017 23:29:56 -0000

LPardue commented on this pull request.



> @@ -362,10 +362,15 @@ a MAX_PUSH_ID frame.
 
 As with server push for HTTP/2, the server initiates a server push by sending a
 PUSH_PROMISE frame that includes request header fields attributed to the
-request. The PUSH_PROMISE frame is sent on a response stream.  Unlike HTTP/2,
-the PUSH_PROMISE does not reference a stream; when a server fulfills a promise,
-the stream that carries the stream headers references the PUSH_PROMISE.  This
-allows a server to fulfill promises in the order that best suits its needs.
+request. The PUSH_PROMISE frame is sent on the client-initiated, bidirectional
+stream that carried the request that generated the push.  This allows the server
+push to be associated with a request.  Ordering of a PUSH_PROMISE in relation to
+certain parts of the response is important (see Section 8.2.1 of {{!RFC7540}}).
+
+Unlike HTTP/2, the PUSH_PROMISE does not reference a stream; when a server
+fulfills a promise, the stream that carries the stream headers references the
+PUSH_PROMISE.  This allows a server to fulfill promises in the order that best

Minor nit: would it be clearer to say "references the Push ID"? Multiple PUSH_PROMISE can reference same Push ID so a pushed stream is not satisfying any particular promise. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/quicwg/base-drafts/pull/957#pullrequestreview-78602720