Re: [quicwg/base-drafts] Move STOP_SENDING to HTTP/QUIC (#759)
Mike Bishop <notifications@github.com> Wed, 06 September 2017 18:18 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 D5A3F1321A2 for <quic-issues@ietfa.amsl.com>; Wed, 6 Sep 2017 11:18:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.02
X-Spam-Level:
X-Spam-Status: No, score=-2.02 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] 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 eDTkn0lhuv-e for <quic-issues@ietfa.amsl.com>; Wed, 6 Sep 2017 11:18:40 -0700 (PDT)
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 45C66132981 for <quic-issues@ietf.org>; Wed, 6 Sep 2017 11:18:39 -0700 (PDT)
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=hYw/N/WLVodSbTZGHv4Onz9SAng=; b=DzbR5ubStHSvRr7i 9adZYY4LD5qkAPhLJ3JlxdBGnZ443ju7is8XsXpobjsGuv17I19CHe91fFvMQtel tU6sdKUAD2JsdS4K7DxZNtGpaZUKlKvnB+pdEfCVqFmb9LLsSar7E8QIluZY1qQU 1Q9QIkjubXjyK7OfeCBlgKlgfKQ=
Received: by filter0490p1las1.sendgrid.net with SMTP id filter0490p1las1-13386-59B03BFD-7 2017-09-06 18:18:37.175098887 +0000 UTC
Received: from github-smtp2a-ext-cp1-prd.iad.github.net (github-smtp2a-ext-cp1-prd.iad.github.net [192.30.253.16]) by ismtpd0004p1iad1.sendgrid.net (SG) with ESMTP id Vff4cuDbQwqSuvvtJySxWw for <quic-issues@ietf.org>; Wed, 06 Sep 2017 18:18:37.040 +0000 (UTC)
Date: Wed, 06 Sep 2017 18:18:37 +0000
From: Mike Bishop <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab59ee3d8b99e980f776223fb63f9f635f1a1efe6492cf0000000115c7fdfc92a169ce0f31ff60@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/759/review/61003633@github.com>
In-Reply-To: <quicwg/base-drafts/pull/759@github.com>
References: <quicwg/base-drafts/pull/759@github.com>
Subject: Re: [quicwg/base-drafts] Move STOP_SENDING to HTTP/QUIC (#759)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_59b03bfce4fa9_46113f90181d9c2c84188"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: MikeBishop
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak2tfScDORwMJCMkaeKVJyCzKyF7yJ/qM4ghgE pu7Gh+Tg2sRyUcmT83UgWWDMT5vqLNKc0qhID3qYSTlpGBzVY265ZkK4W2RoFSyFqKrk3zzHWUa+a6 Z2Z/6V9iqX4g0BPX1QQkWBcIlM8g/PCQoL95VplyGVekP3Rhh0N8aHvkzrIN7lJr81xvr/PikvxVOV Q=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/BE0RjY-em-SGpMX6fiNDJcQi_BM>
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, 06 Sep 2017 18:18:42 -0000
MikeBishop approved this pull request.
I remain dubious of this direction, but the PR itself is fine.
> @@ -389,6 +389,23 @@ HTTP_PUSH_ALREADY_IN_CACHE; see {{errors}}). This asks the server not to
transfer the data and indicates that it will be discarded upon receipt.
+## Solicited Stream Cancellation
+
+If an endpoint is no longer interested in the data being received, it MAY send a
+STOP_SENDING frame to request prompt closure of the stream in the opposite
+direction. This typically indicates that the receiving application is no longer
+reading from the stream, but does not guarantee that incoming data will be
+ignored.
+
+Upon receipt of a STOP_SENDING frame on a stream in the "open" or "half-closed
I wouldn't say "on a stream," since the frame is delivered on the control channel.
> @@ -389,6 +389,23 @@ HTTP_PUSH_ALREADY_IN_CACHE; see {{errors}}). This asks the server not to
transfer the data and indicates that it will be discarded upon receipt.
+## Solicited Stream Cancellation
+
+If an endpoint is no longer interested in the data being received, it MAY send a
+STOP_SENDING frame to request prompt closure of the stream in the opposite
+direction. This typically indicates that the receiving application is no longer
+reading from the stream, but does not guarantee that incoming data will be
+ignored.
+
+Upon receipt of a STOP_SENDING frame on a stream in the "open" or "half-closed
+(remote)" states, an endpoint MUST send a QUIC RST_STREAM frame. If the
+STOP_SENDING frame is received on a stream that is already in the "half-closed
+(local)" or "closed" states, a RST_STREAM frame MAY still be sent in order to
+cancel retransmission of previously-sent STREAM frames. Sending a STOP_SENDING
Moving this piece to the HTTP layer adds an implicit new feature to QUIC API surfaces -- the ability to RST a closed stream.
--
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/759#pullrequestreview-61003633
- [quicwg/base-drafts] Move STOP_SENDING to HTTP/QU… Martin Thomson
- Re: [quicwg/base-drafts] Move STOP_SENDING to HTT… Mike Bishop
- Re: [quicwg/base-drafts] Move STOP_SENDING to HTT… Mike Bishop
- Re: [quicwg/base-drafts] Move STOP_SENDING to HTT… Martin Thomson
- Re: [quicwg/base-drafts] Move STOP_SENDING to HTT… Martin Thomson
- Re: [quicwg/base-drafts] Move STOP_SENDING to HTT… Mike Bishop
- Re: [quicwg/base-drafts] Move STOP_SENDING to HTT… Martin Thomson