Re: [quicwg/base-drafts] Stream closed state and acknowledgments (#743)
Ryan Hamilton <notifications@github.com> Thu, 31 August 2017 23:05 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 E3652132EB5 for <quic-issues@ietfa.amsl.com>; Thu, 31 Aug 2017 16:05:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, 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 lV4qm9el0zqj for <quic-issues@ietfa.amsl.com>; Thu, 31 Aug 2017 16:05:18 -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 2FB7F132E64 for <quic-issues@ietf.org>; Thu, 31 Aug 2017 16:05:18 -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=MYM44+mkw8aiPuESnEIIAEaV5DM=; b=Me3/gRrDvLzpHdgr LgjJRGPiRGXfHzoTlUgdH8yQNFaMlvVFEuhfOAjiJLgkK73CYI6i/aJte4kNNVdT UK4/dvjaBPBIgsqUwTsBHsgtferjEGoxr8sJ+boPZz0Pl+GGOfMuDn3oUHekQCLI ImLuuXBS25apVap3u63kQBEZ5fQ=
Received: by filter0204p1las1.sendgrid.net with SMTP id filter0204p1las1-26202-59A8962C-18 2017-08-31 23:05:16.550655715 +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 ismtpd0003p1iad1.sendgrid.net (SG) with ESMTP id VGR-GgjGSXquRNDPuWZ1Nw for <quic-issues@ietf.org>; Thu, 31 Aug 2017 23:05:16.437 +0000 (UTC)
Date: Thu, 31 Aug 2017 23:05:16 +0000
From: Ryan Hamilton <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab51450854ab37db2575716338f0c307f95251ab3192cf0000000115c0582c92a169ce0f025d79@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/743/326443532@github.com>
In-Reply-To: <quicwg/base-drafts/issues/743@github.com>
References: <quicwg/base-drafts/issues/743@github.com>
Subject: Re: [quicwg/base-drafts] Stream closed state and acknowledgments (#743)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_59a8962c46c2a_4af13fb1dcc85c30999f5"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: RyanAtGoogle
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak0McAx5e/06te+wrcverV5akqQ/Hviyb3sE2z cZEJnMDZ/GQ3Fbho+hVtOkxnyRVfVHcOGOsq03w6kEkiuVr9/cH0aAd5mUw+I/uIIPoaIZpuek/OJ/ uXwewxYhFouXHwP8+5j7sP1YsxBw50S2bcoy+cwtMJnENLmi6RV2g0/HCwscBRQ/25i2y4VNSlyrGe k=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/CXAUuzd-OidKCu2PNS82c2rKLJE>
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: Thu, 31 Aug 2017 23:05:20 -0000
If the question is specifically about when the stream is closed, doesn't
the state diagram make it clear that it's when the FIN is sent, not when
the FIN is ACK'd?
+--------+
| |
| idle |
| |
+--------+
|
send/recv STREAM/RST
recv MSD/SB
|
v
recv FIN/ +--------+ send FIN/
recv RST | | send RST
,---------| open |-----------.
/ | | \
v +--------+ v
+----------+ +----------+
| half | | half |
| closed | | closed |
| (remote) | | (local) |
+----------+ +----------+
| |
| send FIN/ +--------+ recv FIN/ |
\ send RST | | recv RST /
`----------->| closed |<-------------'
| |
+--------+
On Tue, Aug 22, 2017 at 5:29 PM, Martin Thomson <notifications@github.com>
wrote:
> It depends on the model you assume. That assumes a handoff between the
> stream and some transmit/retransmit machinery.
>
> The other model, one that I prefer, is one where the transmission
> machinery pulls from available streams. It uses priority to determine what
> to send, preferring data that has already been sent. In that case, data on
> streams could remain attributed to the stream until it is acknowledged. The
> advantage here is potentially better prioritization and the cost is a
> potential increase in the number of bytes that are outstanding without
> acknowledgment.
>
> Neither model is more modular than the other, the line just appears in a
> different place.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/quicwg/base-drafts/issues/743#issuecomment-324187648>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ASp6ysIBUxSjFgyl_B1XpJvt7HABvFQlks5sa3JygaJpZM4O-AeX>
> .
>
--
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/issues/743#issuecomment-326443532
- [quicwg/base-drafts] Stream closed state and ackn… Martin Thomson
- Re: [quicwg/base-drafts] Stream closed state and … Mike Bishop
- Re: [quicwg/base-drafts] Stream closed state and … Martin Thomson
- Re: [quicwg/base-drafts] Stream closed state and … Ryan Hamilton
- Re: [quicwg/base-drafts] Stream closed state and … Martin Thomson
- Re: [quicwg/base-drafts] Stream closed state and … Ryan Hamilton
- Re: [quicwg/base-drafts] Stream closed state and … martinduke
- Re: [quicwg/base-drafts] Stream closed state and … Igor Lubashev
- Re: [quicwg/base-drafts] Stream closed state and … Mike Bishop
- Re: [quicwg/base-drafts] Stream closed state and … Mike Bishop