#38 - HTTP2 min value for server supported max_concurrent_streams

Osama Mazahir <OSAMAM@microsoft.com> Fri, 22 February 2013 05:03 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D063821E8054 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Feb 2013 21:03:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DgcZ2Q+cG5z5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Feb 2013 21:03:41 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 382E621E803C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 21 Feb 2013 21:03:29 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1U8klu-0000Up-6G for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Feb 2013 05:02:10 +0000
Resent-Date: Fri, 22 Feb 2013 05:02:10 +0000
Resent-Message-Id: <E1U8klu-0000Up-6G@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <OSAMAM@microsoft.com>) id 1U8kll-0000Tu-6k for ietf-http-wg@listhub.w3.org; Fri, 22 Feb 2013 05:02:01 +0000
Received: from na01-bl2-obe.ptr.protection.outlook.com ([65.55.169.26] helo=na01-bl2-obe.outbound.protection.outlook.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <OSAMAM@microsoft.com>) id 1U8klk-0003Eo-H6 for ietf-http-wg@w3.org; Fri, 22 Feb 2013 05:02:01 +0000
Received: from BL2FFO11FD012.protection.gbl (10.173.161.204) by BL2FFO11HUB014.protection.gbl (10.173.160.106) with Microsoft SMTP Server (TLS) id 15.0.620.12; Fri, 22 Feb 2013 05:01:14 +0000
Received: from TK5EX14HUBC102.redmond.corp.microsoft.com (131.107.125.37) by BL2FFO11FD012.mail.protection.outlook.com (10.173.161.18) with Microsoft SMTP Server (TLS) id 15.0.620.12 via Frontend Transport; Fri, 22 Feb 2013 05:01:14 +0000
Received: from TK5EX14MLTW653.wingroup.windeploy.ntdev.microsoft.com (157.54.24.14) by TK5EX14HUBC102.redmond.corp.microsoft.com (157.54.7.154) with Microsoft SMTP Server (TLS) id 14.2.318.3; Fri, 22 Feb 2013 05:00:47 +0000
Received: from TK5EX14MBXW601.wingroup.windeploy.ntdev.microsoft.com ([169.254.1.82]) by TK5EX14MLTW653.wingroup.windeploy.ntdev.microsoft.com ([157.54.24.14]) with mapi id 14.02.0328.011; Thu, 21 Feb 2013 21:00:47 -0800
From: Osama Mazahir <OSAMAM@microsoft.com>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Thread-Topic: #38 - HTTP2 min value for server supported max_concurrent_streams
Thread-Index: Ac4P5gZgxDRDnLAbSrC7mc4s04qeKQA00Ndw
Date: Fri, 22 Feb 2013 05:00:46 +0000
Message-ID: <B33F11E188FEAB49A7FAF38BAB08A2C001D31EBA@TK5EX14MBXW601.wingroup.windeploy.ntdev.microsoft.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.90]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(164054002)(199002)(189002)(66066001)(56776001)(54316002)(31966008)(51856001)(23756002)(56816002)(50466001)(4396001)(55846006)(50986001)(47976001)(46102001)(47736001)(53806001)(65816001)(77982001)(47776003)(74662001)(5343635001)(54356001)(49866001)(80022001)(44976002)(16406001)(47446002)(79102001)(74502001)(33656001)(20776003)(59766001)(76482001)(63696002); DIR:OUT; SFP:; SCL:1; SRVR:BL2FFO11HUB014; H:TK5EX14HUBC102.redmond.corp.microsoft.com; RD:InfoDomainNonexistent; A:1; MX:1; LANG:en;
X-OriginatorOrg: microsoft.onmicrosoft.com
X-Forefront-PRVS: 07658B8EA3
Received-SPF: pass client-ip=65.55.169.26; envelope-from=OSAMAM@microsoft.com; helo=na01-bl2-obe.outbound.protection.outlook.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.450, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1U8klk-0003Eo-H6 0387af33c33d60efd1d197e5552f712f
X-Original-To: ietf-http-wg@w3.org
Subject: #38 - HTTP2 min value for server supported max_concurrent_streams
Archived-At: <http://www.w3.org/mid/B33F11E188FEAB49A7FAF38BAB08A2C001D31EBA@TK5EX14MBXW601.wingroup.windeploy.ntdev.microsoft.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16743
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Hi,

Issue #38 [1] tracks:
	(1) What is the minimum number of concurrent client-initiated streams that a server must be able to support?
	(2) What is the default value?

We have a race condition where the client can initiate more streams to the server before the server can advertise its stream accept limit to the client.  I suggest making the default the same as the minimum so that we can prevent that race.  And tighten the wording on what is legal.  For example, something like:

A server MUST be able to handle at least 8 concurrent streams initiated by the client. A server MUST NOT advertise a value less than 8. A client MUST generate a session error if it receives a value less than 8 from the server. The default value server limit is 8.

Thanks,
--Osama.

[1] https://github.com/http2/http2-spec/issues/38