Re: [quicwg/base-drafts] Unidirectional streams (#175)

Mike Bishop <notifications@github.com> Thu, 23 February 2017 23:33 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 55F11129C39 for <quic-issues@ietfa.amsl.com>; Thu, 23 Feb 2017 15:33:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.02
X-Spam-Level:
X-Spam-Status: No, score=-2.02 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_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, 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 5bYEUVke1c25 for <quic-issues@ietfa.amsl.com>; Thu, 23 Feb 2017 15:33:46 -0800 (PST)
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 DE9C2129C31 for <quic-issues@ietf.org>; Thu, 23 Feb 2017 15:33:45 -0800 (PST)
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=sHjIC9OTZIjdpXu5C/K4Cedvl6U=; b=qtJeKXlmr5ovTYAK rZFCbqVSaF6o4qrKeyGgF8YethyGB3uXUkAQOJ/oTnzKvg3gaLh6cq8m8WJ37ke6 CYs1gtwEaYq5MmZrYTjLpjc9nAVtpp9GiTGcN0/71NuHccSfWD0NuHN35wtolI3h geYah4Sy6c66YOqcVVo3itS86Og=
Received: by filter1137p1mdw1.sendgrid.net with SMTP id filter1137p1mdw1-10005-58AF7158-7A 2017-02-23 23:33:44.934937331 +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 ismtpd0006p1iad1.sendgrid.net (SG) with ESMTP id fJyODq0zTeeSlxyfgPILRQ for <quic-issues@ietf.org>; Thu, 23 Feb 2017 23:33:44.849 +0000 (UTC)
Date: Thu, 23 Feb 2017 15:33:44 -0800
From: Mike Bishop <notifications@github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/175/282156592@github.com>
In-Reply-To: <quicwg/base-drafts/issues/175@github.com>
References: <quicwg/base-drafts/issues/175@github.com>
Subject: Re: [quicwg/base-drafts] Unidirectional streams (#175)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_58af7158bb7ec_2a8d3fb951f4113c24050"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: MikeBishop
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak1zEuoxx4V1+PEytj4z/OxOAQ05lcQH9EURtW WaAMzHTctQDTthSd5kKZYs3fiC3P4YKs/rhjrTIVAMGIEhgmsbWv7OcDHAGzoFGgtFiIBFs780PDd+ 54BQysrD6g9fD1dtKhUrJ6yqdbkRanaqznO9J2jZnVY1nsm3P9BG6aiDE89kRtXdebQQn2UIL6pvi4 c=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/rHzUZ4DZV4jruLNSLwVhyw_zwjo>
Cc: Subscribed <subscribed@noreply.github.com>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.17
Reply-To: quic@ietf.org
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, 23 Feb 2017 23:33:48 -0000

So it seems like there are a couple stages here, and it depends how far we're willing to go.

1. A QUIC stream is bidirectional, and moves through a state machine of (idle,active,half-closed local/remote,fully-closed)
2. A QUIC stream consists of a pair of opposite-direction channels, each of which moves through the (idle,active,closed) cycle independently.
3. QUIC streams in each direction are fully independent, move through a state machine of (idle,active,closed), and any relationship between streams in opposite directions is defined by the application protocol.

Option 1 is the status quo.  I strongly support moving at least to Option 2 for the simpler state management.  Note that Option 2 still requires that we retain the concept of client-initiated and server-initiated streams.

Option 3 is a possibility, but requires much more change to the application layer from what we currently deal with.  It has some interesting possibilities, though.

-- 
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/175#issuecomment-282156592