Re: [quicwg/base-drafts] Independent states and STOP_SENDING (#171)
Subodh Iyengar <notifications@github.com> Mon, 31 July 2017 16:04 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 2C56013256B for <quic-issues@ietfa.amsl.com>; Mon, 31 Jul 2017 09:04:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, RP_MATCHES_RCVD=-0.001, 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 87g8LYd1uley for <quic-issues@ietfa.amsl.com>; Mon, 31 Jul 2017 09:04:36 -0700 (PDT)
Received: from o9.sgmail.github.com (o9.sgmail.github.com [167.89.101.2]) (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 73870131723 for <quic-issues@ietf.org>; Mon, 31 Jul 2017 09:04:33 -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=pmC7dyoUs5eUAUOQEBq38pwA8AM=; b=XpJOVKPGrS1cVFOu d9OuiJEJ9EDMnnX7i3/pqH97ygoxnaLDq5pVcQx5bsFk++lT8E/hbW5XfOU7A4Hk MdBTABRxXroC93XvRnQDOl3wh0emaeZ1sJ7C1AJLU94vo1yybG6iy3jd81DEFIwS E084hsmWkv8Ia/2mABh8dlkfR/Q=
Received: by filter0568p1mdw1.sendgrid.net with SMTP id filter0568p1mdw1-965-597F550B-20 2017-07-31 16:04:27.784472094 +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 ismtpd0037p1mdw1.sendgrid.net (SG) with ESMTP id -7lu76HSSk-3BhUXhZxIdg for <quic-issues@ietf.org>; Mon, 31 Jul 2017 16:04:27.675 +0000 (UTC)
Date: Mon, 31 Jul 2017 16:04:28 +0000
From: Subodh Iyengar <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abacb89e9c01a566424e2e1ef99ce9759dcdf906fa92cf000000011597170b92a169ce0c04da41@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/171/review/53259725@github.com>
In-Reply-To: <quicwg/base-drafts/pull/171@github.com>
References: <quicwg/base-drafts/pull/171@github.com>
Subject: Re: [quicwg/base-drafts] Independent states and STOP_SENDING (#171)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_597f550b526fc_43b03ff256ce5c381920a3"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: siyengar
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak3q1+wM7QHj0Wc+zBBSRQhVk4CvsoW9Fr56h0 GLcDAzQMM2QJvBSdkYGIWspqNY3qlra17MFJSLvvDEM2dnmmg5EIXBH3FuzKem9clLoAFrDTJZYQ+I KJ4dePPBMyHE2Q8jyynIfiReXgCj5dfqENOYIJ5uAcw9HgT3l8rQHvuXqmyx0LZ6QG/CwpjHuvjA63 I=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/8nClvnUZYradSp_OftlDukBgn7s>
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: Mon, 31 Jul 2017 16:04:44 -0000
siyengar commented on this pull request.
> the terminal STREAM frame that contains a FIN flag.
-A stream becomes "closed" when the endpoint sends and receives acknowledgment of
-a RST_STREAM frame.
+A stream also becomes "closed" when the endpoint sends a RST_STREAM frame.
wouldn't we still have to wait for the ACK and retransmit the RST if not, why does this change?
> +If an endpoint is no longer interested in the data being received, it MAY send a
+STOP_SENDING frame on a stream in the "open" or "half-closed (local)" state to
+request closure of the stream in the opposite direction. This typically
+indicates that the receiving application is no longer reading from the stream,
+but is not a guarantee that incoming data will be ignored.
+
+STREAM frames received after sending STOP_SENDING are still counted toward the
+connection and stream flow-control windows. Even though these frames will be
+discarded, because they are sent before their sender receives the STOP_SENDING,
+the sender will consider the frames to count against its flow-control windows.
+
+Upon receipt of a STOP_SENDING frame on a stream in the "open" state, an
+endpoint SHOULD send a RST_STREAM with an error code of QUIC_RECEIVED_RST. 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.
This wording seems a bit strange to me. Why does sending a RST_STREAM frame cancel retransmission of STREAM frames, isn't canceling retransmission a decision made by the sender locally?
> @@ -2527,6 +2546,26 @@ Reordering might cause frames to be received after closing, see
{{state-hc-remote}}.
+## Solicited State Transitions
+
+If an endpoint is no longer interested in the data being received, it MAY send a
+STOP_SENDING frame on a stream in the "open" or "half-closed (local)" state to
+request closure of the stream in the opposite direction. This typically
+indicates that the receiving application is no longer reading from the stream,
+but is not a guarantee that incoming data will be ignored.
+
+STREAM frames received after sending STOP_SENDING are still counted toward the
a sender of STOP WAITING can technically detect that a sender sent data after it got the stop waiting, should it error the connection in that case?
I might have missed a MUST behavior associated with STOP_WAITING. Is it still a recommendation and not a required behavior?
> @@ -2527,6 +2546,26 @@ Reordering might cause frames to be received after closing, see
{{state-hc-remote}}.
+## Solicited State Transitions
+
+If an endpoint is no longer interested in the data being received, it MAY send a
+STOP_SENDING frame on a stream in the "open" or "half-closed (local)" state to
+request closure of the stream in the opposite direction. This typically
+indicates that the receiving application is no longer reading from the stream,
+but is not a guarantee that incoming data will be ignored.
+
+STREAM frames received after sending STOP_SENDING are still counted toward the
+connection and stream flow-control windows. Even though these frames will be
+discarded, because they are sent before their sender receives the STOP_SENDING,
+the sender will consider the frames to count against its flow-control windows.
+
+Upon receipt of a STOP_SENDING frame on a stream in the "open" state, an
is there a reason this requirement is only in open state and not in half-closed remote as well?
This whole paragraph seems strangely worded, it just basically says, "Hey you can send a RST stream in response to a STOP_WAITING" any time. Does it add a lot of value to make QUIC_RECEIVED_RST a special case?
--
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/171#pullrequestreview-53259725
- [quicwg/base-drafts] First pass at REQUEST_RST (#… Mike Bishop
- Re: [quicwg/base-drafts] First pass at REQUEST_RS… Mike Bishop
- Re: [quicwg/base-drafts] First pass at REQUEST_RS… Martin Thomson
- Re: [quicwg/base-drafts] First pass at REQUEST_RS… Mike Bishop
- Re: [quicwg/base-drafts] First pass at REQUEST_RS… Mike Bishop
- Re: [quicwg/base-drafts] First pass at REQUEST_RS… Mike Bishop
- Re: [quicwg/base-drafts] First pass at REQUEST_RS… Mike Bishop
- Re: [quicwg/base-drafts] First pass at REQUEST_RS… Mike Bishop
- Re: [quicwg/base-drafts] First pass at REQUEST_RS… Mike Bishop
- Re: [quicwg/base-drafts] First pass at REQUEST_RS… Martin Thomson
- Re: [quicwg/base-drafts] First pass at REQUEST_RS… Martin Thomson
- Re: [quicwg/base-drafts] First pass at REQUEST_RS… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and R… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and R… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and R… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and D… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and D… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and D… Igor Lubashev
- Re: [quicwg/base-drafts] Independent states and D… Martin Thomson
- Re: [quicwg/base-drafts] Independent states and D… Igor Lubashev
- Re: [quicwg/base-drafts] Independent states and D… Martin Thomson
- Re: [quicwg/base-drafts] Independent states and D… ianswett
- Re: [quicwg/base-drafts] Independent states and D… Igor Lubashev
- Re: [quicwg/base-drafts] Independent states and D… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and D… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and D… Igor Lubashev
- Re: [quicwg/base-drafts] Independent states and D… Martin Thomson
- Re: [quicwg/base-drafts] Independent states and D… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and D… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and D… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and D… Martin Thomson
- Re: [quicwg/base-drafts] Independent states and D… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and D… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and D… Martin Thomson
- Re: [quicwg/base-drafts] Independent states and D… Martin Thomson
- Re: [quicwg/base-drafts] Independent states and D… Martin Thomson
- Re: [quicwg/base-drafts] Independent states and D… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and D… Martin Thomson
- Re: [quicwg/base-drafts] Independent states and D… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and D… Christian Huitema
- Re: [quicwg/base-drafts] Independent states and D… Christian Huitema
- Re: [quicwg/base-drafts] Independent states and D… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and D… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and D… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and D… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and D… Martin Thomson
- Re: [quicwg/base-drafts] Independent states and D… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and D… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and D… ianswett
- Re: [quicwg/base-drafts] Independent states and D… ianswett
- Re: [quicwg/base-drafts] Independent states and D… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and D… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and D… ianswett
- Re: [quicwg/base-drafts] Independent states and S… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and S… Martin Thomson
- Re: [quicwg/base-drafts] Independent states and S… Subodh Iyengar
- Re: [quicwg/base-drafts] Independent states and S… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and S… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and S… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and S… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and S… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and S… janaiyengar
- Re: [quicwg/base-drafts] Independent states and S… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and S… Mike Bishop
- Re: [quicwg/base-drafts] Independent states and S… Martin Thomson