Re: [quicwg/base-drafts] Unidirectional Streams (#643)

Martin Thomson <notifications@github.com> Tue, 27 June 2017 00:10 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 871BE1201F2 for <quic-issues@ietfa.amsl.com>; Mon, 26 Jun 2017 17:10:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.8
X-Spam-Level:
X-Spam-Status: No, score=-4.8 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_32=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-2.8, RP_MATCHES_RCVD=-0.001, 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 oTfZM35PhXuS for <quic-issues@ietfa.amsl.com>; Mon, 26 Jun 2017 17:10:09 -0700 (PDT)
Received: from o8.sgmail.github.com (o8.sgmail.github.com [167.89.101.199]) (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 6EFB3126E3A for <quic-issues@ietf.org>; Mon, 26 Jun 2017 17:10:09 -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=bv2LlYVQ3ktBy57FHEmWHGkz9p0=; b=I1UVUh0Fr/TM40ni scZ9BWTX41+UZ2gc+aavMehnBHY69SJHGQ6XXhFh3CxX5Djj0xBSHpLO+IKQrLIs 1EnufFdIeXNEEufE5OqaVrIBLiFXEJaKLUQlQ2OFCQ+rXfdBE9VjRehM0Mh9RnkW BBVIks/lrZ9QLICDwHMQT6AqOS8=
Received: by filter0928p1mdw1.sendgrid.net with SMTP id filter0928p1mdw1-13905-5951A260-20 2017-06-27 00:10:08.634701828 +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 ismtpd0003p1iad1.sendgrid.net (SG) with ESMTP id 0SKW-N8NS0G2rPOPSf9LGw for <quic-issues@ietf.org>; Tue, 27 Jun 2017 00:10:08.569 +0000 (UTC)
Date: Mon, 26 Jun 2017 17:10:08 -0700
From: Martin Thomson <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab075bbf1aed270e33b503292ea0f4e61b568f4d2192cf000000011569646092a169ce0e21ecbf@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/643/review/46416611@github.com>
In-Reply-To: <quicwg/base-drafts/pull/643@github.com>
References: <quicwg/base-drafts/pull/643@github.com>
Subject: Re: [quicwg/base-drafts] Unidirectional Streams (#643)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5951a2606fb0c_5c113f9b3ed07c302177af"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: martinthomson
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak3ZiuV9M2e9oI3/SMqJncMBUu79DjTzivkv3b 4UEs9U4gayzQQ4+6I7VQK/mHcyIQglyLhmanj4Byln9KMqdqAfOt3tb0Ctjj+24z5MaNNaF8MKRRiK oa9Kc0X5PF6qkzl1wGEoxm1rPlb28rcBv1P0sFTzlXMgXZr7zAbH/T8IY4U6fj8ZJc2G+OuGb/AExl I=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/abYUz3VS1Dm-OqqQ-As-TauR2is>
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: Tue, 27 Jun 2017 00:10:11 -0000

martinthomson commented on this pull request.



> -
-### closed {#state-closed}
-
-The "closed" state is the terminal state for a stream.
-
-Once a stream reaches this state, no frames can be sent that mention the stream.
-Reordering might cause frames to be received after closing, see
-{{state-hc-remote}}.
+An endpoint could continue receiving frames for the stream even after the stream
+is closed for sending if packets are reordered.  At the receiving endpoint,
+retransmissions of data in STREAM frames, or retransmissions of STREAM_BLOCKED
+and RST_STREAM frames might arrive after the stream becomes "closed".  At the
+sending endpoint, MAX_STREAM_DATA frames might be received after the stream
+becomes "closed".  Frames received on a "closed" stream SHOULD be discarded.  An
+endpoint MAY choose to limit the period over which it ignores frames and treat
+frames that arrive after this time as being in error.

If a peer closes the stream and continues to send frames on that stream long after closing, it's a way to generate unaccounted traffic.

This is a case where I would reference the ENHANCE_YOUR_CALM error, but apparently we can't have nice things.

-- 
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/643#discussion_r124151810