Re: [quicwg/base-drafts] Stream creation order (#634)

Martin Thomson <notifications@github.com> Tue, 26 September 2017 05:04 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 C369D120720 for <quic-issues@ietfa.amsl.com>; Mon, 25 Sep 2017 22:04:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.298
X-Spam-Level:
X-Spam-Status: No, score=-9.298 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_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.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 6BJvR2SFp_dd for <quic-issues@ietfa.amsl.com>; Mon, 25 Sep 2017 22:04:15 -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 17AFB127517 for <quic-issues@ietf.org>; Mon, 25 Sep 2017 22:04:14 -0700 (PDT)
Date: Mon, 25 Sep 2017 22:04:13 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1506402253; bh=05uJmEimdSIjQMfPKtUFpMwvjVuwDIx4tMkBUnbNpNE=; h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=ScrZW7NyGiPf5yD4R/rTgDaHgMl7dOKpMBDRWMXuCmzyECh8nLZNs5twF1XIDf17g RsO+yXpFF56LVzH+ncPS+Ktil2B1InwLzwt2NLCaVb3zIRN4FGd3uBXlweVDc8v1Yo VGsAh2ojexrZRRq8EbZWOln3+ZVMn24hVJglZB+c=
From: Martin Thomson <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abb411ab9cebadbb83b26314a5702aa8da6d3b9b7f92cf0000000115e1a1cd92a169ce0e164e9f@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/634/332087267@github.com>
In-Reply-To: <quicwg/base-drafts/issues/634@github.com>
References: <quicwg/base-drafts/issues/634@github.com>
Subject: Re: [quicwg/base-drafts] Stream creation order (#634)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_59c9dfcd3e641_18de3fc1df13cf7879238"; 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
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/n0w4kbW97bI42NSamOQIcA8KyVk>
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, 26 Sep 2017 05:04:18 -0000

The same reason it is valuable now, but more so.  The strict ordering restriction ensures that you can cheaply and reliably determine whether a stream is idle, open, or closed.  Open streams need a bunch of state.  If that state exists, the stream is open.  Idle streams are those that don't have state and have higher numbers than all open streams.  Closed streams are those that don't have state and have a lower number than any open stream.

Also, the only reason that you might want to open out of order is if you attached some sort of semantic to the stream ID.  I think doing that is a mistake.

-- 
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/634#issuecomment-332087267