Re: [QUIC] Stream ID: 32 or 31 bits?

Mike Bishop <Michael.Bishop@microsoft.com> Tue, 22 November 2016 18:41 UTC

Return-Path: <Michael.Bishop@microsoft.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B413E1294E9 for <quic@ietfa.amsl.com>; Tue, 22 Nov 2016 10:41:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level:
X-Spam-Status: No, score=-2.002 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.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 Y32TPE_aAIqI for <quic@ietfa.amsl.com>; Tue, 22 Nov 2016 10:41:27 -0800 (PST)
Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0090.outbound.protection.outlook.com [104.47.37.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 31D7B129446 for <quic@ietf.org>; Tue, 22 Nov 2016 10:41:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=iY7fsZI7lwyfeLB5l3kIZWhYqwHd8mbIQkot2pF/PJU=; b=LogAdZ/WtWxtcvXzmQGoa9JrVU/HgiEJqzxYur4Pd35BshktmHwR5C4WV1P8qKwJcJoV/lfLZ4KRkIOfLgRlL293RUpkzkewiZe9f5Q64/u+MWoEPHjN/thIXqOVA5dmYxuEME5BVlZOuxixTNPQBpEDo2Q8UhpApApoSinRj60=
Received: from BN6PR03MB2708.namprd03.prod.outlook.com (10.173.144.15) by BN6PR03MB2707.namprd03.prod.outlook.com (10.173.144.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.734.8; Tue, 22 Nov 2016 18:41:20 +0000
Received: from BN6PR03MB2708.namprd03.prod.outlook.com ([10.173.144.15]) by BN6PR03MB2708.namprd03.prod.outlook.com ([10.173.144.15]) with mapi id 15.01.0734.014; Tue, 22 Nov 2016 18:41:20 +0000
From: Mike Bishop <Michael.Bishop@microsoft.com>
To: "Aron ." <aron.schats@gmail.com>, "quic@ietf.org" <quic@ietf.org>
Thread-Topic: [QUIC] Stream ID: 32 or 31 bits?
Thread-Index: AQHSRNJoueiQR7WXVES5dhOM17cIwaDlVmNz
Date: Tue, 22 Nov 2016 18:41:20 +0000
Message-ID: <BN6PR03MB2708234BAE15E5C73C4F6D2087B40@BN6PR03MB2708.namprd03.prod.outlook.com>
References: <CAGudDpM9EJ_K-hpiCA1NMOfqkFJoCPnvSBCq9Z9B19i0-B1kqQ@mail.gmail.com>
In-Reply-To: <CAGudDpM9EJ_K-hpiCA1NMOfqkFJoCPnvSBCq9Z9B19i0-B1kqQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Michael.Bishop@microsoft.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [67.197.26.33]
x-microsoft-exchange-diagnostics: 1; BN6PR03MB2707; 7:79EdZQKZInUC78QbNbsYyG6B0kJ92c8VghpqJGKl3+uuPeixM/KZRQ4K5UtrjzoAjWrl5Wn2nInvesMLaqe2dmJEaSco6c6QqDVOP8e8S7WtTqfANNyK3TuzU8ASc4sAGrwAiWSwoK+75iwBybd80iuY/wkLzTXjUwA/hqDOg+DuFt7eIU76MZRxNVoRd8LNUJbnO94mrX4eAro3HtrlHC7YHqf1zgpFqQSDq4Pa1yxRlYcFalqP/mlZsyRX+jcihhJb2BuV/KPG0MfWM+GgwSStMu615g29VT/EotZPzHJg2Nhl7u+BZdro7Xjypiv1lS/K/ilDLxA0xYOIqZTkquHKMfDhTcnWa9qKbtzO8496xxy00LEw9A+N0JBk+eix
x-ms-office365-filtering-correlation-id: 1388a8b5-4617-4823-e6b8-08d4130726dd
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BN6PR03MB2707;
x-microsoft-antispam-prvs: <BN6PR03MB27075BFFC775CE02E79F0AEE87B40@BN6PR03MB2707.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(6060326)(6040307)(6045199)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026)(61426038)(61427038)(6061324)(6041248)(6046074)(6047074)(6072148)(6042181); SRVR:BN6PR03MB2707; BCL:0; PCL:0; RULEID:; SRVR:BN6PR03MB2707;
x-forefront-prvs: 0134AD334F
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(7916002)(377454003)(199003)(189002)(105586002)(50986999)(77096005)(106116001)(7696004)(97736004)(106356001)(8990500004)(92566002)(2906002)(76176999)(99286002)(107886002)(3660700001)(33656002)(54356999)(3900700001)(3280700002)(81156014)(102836003)(8676002)(2900100001)(81166006)(6116002)(10090500001)(5005710100001)(10290500002)(3846002)(5660300001)(229853002)(8936002)(5001770100001)(189998001)(6506003)(606004)(101416001)(7736002)(66066001)(2950100002)(7846002)(9686002)(86612001)(122556002)(86362001)(76576001)(68736007)(74316002)(2501003)(38730400001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN6PR03MB2707; H:BN6PR03MB2708.namprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_BN6PR03MB2708234BAE15E5C73C4F6D2087B40BN6PR03MB2708namp_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Nov 2016 18:41:20.1165 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2707
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/-fn6oW3aY-mXtEdX4cqTETeytN8>
Subject: Re: [QUIC] Stream ID: 32 or 31 bits?
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Nov 2016 18:41:29 -0000

Only somewhat – there are QUIC streams that will never be referenced by the current mapping, but since the reverse isn’t true, that’s merely sub-optimal.

In my opinion, we fix that by getting rid of the HTTP/2 muxing layer entirely and updating the other frames that reference streams to match the size of QUIC streams.  But we'll need to discuss that.

Sent from my Windows 10 phone

From: Aron .<mailto:aron.schats@gmail.com>
Sent: Tuesday, November 22, 2016 10:09 AM
To: quic@ietf.org<mailto:quic@ietf.org>
Subject: [QUIC] Stream ID: 32 or 31 bits?

Hello,

Section 8.2 (pp. 33-34) of [draft-hamilton-quic-transport-protocol-01] states:

Streams are identified by an unsigned 32-bit integer, referred to as the StreamID.

Section 5.1.1 (p. 21) of RFC 7540 says that

Streams are identified with an unsigned 31-bit integer.

The format of frames QUIC uses on Stream 3 is the same as in HTTP/2, seemingly creating a conflict.

Is this a conflict?  If so, how do we resolve it?

Thanks,

  Aron.