[quicwg/base-drafts] only require RESET_STREAM on STOP_SENDING in Ready and Sent state (#2268)

Marten Seemann <notifications@github.com> Fri, 28 December 2018 11:53 UTC

Return-Path: <noreply@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 DAEE7130FF4 for <quic-issues@ietfa.amsl.com>; Fri, 28 Dec 2018 03:53:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.064
X-Spam-Level:
X-Spam-Status: No, score=-8.064 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.065, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, 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 ioqSI22uuyvc for <quic-issues@ietfa.amsl.com>; Fri, 28 Dec 2018 03:53:15 -0800 (PST)
Received: from out-1.smtp.github.com (out-1.smtp.github.com [192.30.252.192]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DBB4E130FF1 for <quic-issues@ietf.org>; Fri, 28 Dec 2018 03:53:14 -0800 (PST)
Date: Fri, 28 Dec 2018 03:53:13 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1545997993; bh=JqoaHYKSxTtMY1bW8B/zsXAujClEm3tYIQbIgvVgb2o=; h=Date:From:Reply-To:To:Cc:Subject:List-ID:List-Archive:List-Post: List-Unsubscribe:From; b=dGYtmFIh2D+HaJMSSv5UkcwGDuOdxsXvuxwmWFj2IywZ9/EHdaoIw1JNaOeiFdKf3 /FZu19nGv42MRnKeZoMAltYh8/3IZoWt2KLUx4LK/+0qdaHryOl0oGvTUvWf2ZcnlF yeRymz71Yb00W/RvFN2itLJpeetIySQnkHit7kDM=
From: Marten Seemann <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab72a1f627826e4b0e5132e5af7b296a3bc6863bb292cf00000001183dd0a992a169ce17856d43@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/2268@github.com>
Subject: [quicwg/base-drafts] only require RESET_STREAM on STOP_SENDING in Ready and Sent state (#2268)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5c260ea976c69_fe63fc05a6d45c01073137"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: marten-seemann
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/1_H7PI_Cm-dHClL0d1mNGUWe20Y>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 28 Dec 2018 11:53:17 -0000

When all data has already been sent on a stream, we allow two responses to receiving a STOP_SENDING:
> If the STOP_SENDING frame is received on a stream that is already in the “Data Sent” state, an endpoint that wishes to cease retransmission of previously-sent STREAM frames on that stream MUST first send a RESET_STREAM frame.

The two options:
1. reliably deliver all STREAM frames
2. cease retransmission of STREAM frames, and send a RESET_STREAM instead

In case 1., it's not necessary to send a RESET_STREAM frame, since the peer will learn about the final offset of the stream from the STREAM frame with the FIN bit.
You can view, comment on, or merge this pull request online at:

  https://github.com/quicwg/base-drafts/pull/2268

-- Commit Summary --

  * only require RESET_STREAM on STOP_SENDING in Ready and Sent state

-- File Changes --

    M draft-ietf-quic-transport.md (8)

-- Patch Links --

https://github.com/quicwg/base-drafts/pull/2268.patch
https://github.com/quicwg/base-drafts/pull/2268.diff

-- 
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/2268