[quicwg/base-drafts] More detailed stream states (#894)

Martin Thomson <notifications@github.com> Fri, 20 October 2017 08:56 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 2E6C213209C for <quic-issues@ietfa.amsl.com>; Fri, 20 Oct 2017 01:56:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.019
X-Spam-Level:
X-Spam-Status: No, score=-2.019 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_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 9S-qj0ltVtWb for <quic-issues@ietfa.amsl.com>; Fri, 20 Oct 2017 01:56:56 -0700 (PDT)
Received: from o7.sgmail.github.com (o7.sgmail.github.com [167.89.101.198]) (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 5080F126B6D for <quic-issues@ietf.org>; Fri, 20 Oct 2017 01:56:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=I8CYi4sCVdtYjujaeav+H1AdBHg=; b=h1ETCYtrRaiF81t+ R7ClFPKREdw1sJqzrz/cqrCoOXjFoKHn5LxCX7jo3uUxu9H5YiM2Y73HH5dBmxIk Q+Tlpc5pAgh/afgLC3OAzRXzROL/kBfKjOw0oiSeY+LiRIqZ8hZx96P7tiiyGCfR 9WrK2w6g3bFOo29BPRd/TVUS1jI=
Received: by filter0208p1iad2.sendgrid.net with SMTP id filter0208p1iad2-10013-59E9BA56-18 2017-10-20 08:56:54.896849679 +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 ismtpd0001p1iad2.sendgrid.net (SG) with ESMTP id VoPg-afNQmmUwgLvnlysHw for <quic-issues@ietf.org>; Fri, 20 Oct 2017 08:56:54.917 +0000 (UTC)
Date: Fri, 20 Oct 2017 08:56:55 +0000
From: Martin Thomson <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4aba5664a14666b3b839a0fb87a48b7e568dd96404b92cf0000000116017c5692a169ce0febbc73@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/894@github.com>
Subject: [quicwg/base-drafts] More detailed stream states (#894)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_59e9ba56dadf8_11973fd1924f0f301133bc"; 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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak2eIXrPVc/apOdF1dgEUyK4U5Q23l6a/cMU5/ SGY3U67oNY/tHjsh89+kdj8f1xSCsLwzBpuK9lA3fAezrWrqjQLZ0bc5xJd0hG9NkSioEXaO69CDNp +Es7wQr96f8+41gO66GWQh5MeRHCV5cYeJvDSPap6PHtqPPGl5sS0Kuhh0bPq6vqid9ke9waIQPEfv s=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/bOhBavf9YLvZPaQ7LR2BlSj5qyA>
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: Fri, 20 Oct 2017 08:56:58 -0000

This takes the state machines that @MikeBishop showed at the Seattle interim
and turns them into text and ASCII art.

I made a few changes in the process.  The state where all data is available
didn't turn out to be any different to the state preceding it, so I removed it.
I also found it valuable to recognize that streams might be created for sending
before any frames are sent (I considered doing the same for receive streams,
but it complicated the transitions more than I liked, I could be convinced to
add this still, it just seems less valuable).

I added a section on composite states, showing how this mess all maps to stuff
you already know (h2).

This is still work-in-progress.  I have changed the main chunk of text on
states, but I haven't changed any of the rest of the document, which still
talks about "idle" and all that.  I'll do that next if people are generally
happy with the direction this is headed.

There are probably a few minor regressions here.  In particular, I need to look at
what retransmissions can be received after they are no longer needed.  But it's
late enough already.

(Note, this is currently based on master, but this assumes the bidi/uni proposal from @RyanAtGoogle or myself is taken in some form.  I'll rebase once that settles.)
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * More detailed stream states

-- File Changes --

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

-- Patch Links --

https://github.com/quicwg/base-drafts/pull/894.patch
https://github.com/quicwg/base-drafts/pull/894.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/894