[quicwg/base-drafts] Streams start as "idle" (#778)

ekr <notifications@github.com> Mon, 18 September 2017 19:58 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 E3CC4132D89 for <quic-issues@ietfa.amsl.com>; Mon, 18 Sep 2017 12:58:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.396
X-Spam-Level:
X-Spam-Status: No, score=-8.396 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_28=1.404, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-2.8, 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 4ydKhER_w-Px for <quic-issues@ietfa.amsl.com>; Mon, 18 Sep 2017 12:58:41 -0700 (PDT)
Received: from github-smtp2b-ext-cp1-prd.iad.github.net (github-smtp2-ext2.iad.github.net [192.30.252.193]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 65E261326ED for <quic-issues@ietf.org>; Mon, 18 Sep 2017 12:58:41 -0700 (PDT)
Date: Mon, 18 Sep 2017 12:58:36 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1505764720; bh=rJ+H0E6h8S157FXxuhodx61KRCxlvhUXs5fkpGpwUHk=; h=From:Reply-To:To:Cc:Subject:List-ID:List-Archive:List-Post: List-Unsubscribe:From; b=v1zVTxjT7GwxjgFBkuR7cajrSZRrAXv363Utmy7QZlyfHG27EDxC0enNR1Erdio4a BpY/9HEYo1yHVu9dugMEKjNfkaAFQYRRo1z7asVnoN0B45uKsurZGPT5FThh239Nyd S0Y9780HkA0AKU4HdPkv+Wm4HAX1V094LtqX810o=
From: ekr <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab5c0d9b91a95999756b73ae0e39e6be2ccca7766e92cf0000000115d7e76c92a169ce0f69f59b@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/778@github.com>
Subject: [quicwg/base-drafts] Streams start as "idle" (#778)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_59c0256c944da_7ca13fa5f870af3420144"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: ekr
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/FIE0t9-0MXWj2mJ_b5_n9DrCeCU>
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, 18 Sep 2017 19:58:43 -0000

There are two ways of thinking about streams:

1. All 2^32 streams exist but are in the IDLE state and transition to other states when messages are received/sent on them.
2. Streams are created when the aforementioned messages are received/sent.

The document is kind of agnostic on this, talking about them as being in IDLE (the state machine) but also talking about streams being created:

```
   A QUIC endpoint cannot reuse a Stream ID.  Streams MUST be created in
   sequential order.  Open streams can be used in any order.  Streams
```

I tend to think that it would be better to talk about streams being created and remove the IDLE state, but in any case it would be good if the draft were consistent.


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