Re: Design Issue: Max Concurrent Streams Limit and Unidirectional Streams

Martin Thomson <martin.thomson@gmail.com> Thu, 25 April 2013 23:13 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 33C8221F96D8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Apr 2013 16:13:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.95
X-Spam-Level:
X-Spam-Status: No, score=-5.95 tagged_above=-999 required=5 tests=[AWL=4.649, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gg8+GPbNEie8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Apr 2013 16:13:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A107621F96AB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Apr 2013 16:13:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UVVKn-0003e2-8i for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Apr 2013 23:12:13 +0000
Resent-Date: Thu, 25 Apr 2013 23:12:13 +0000
Resent-Message-Id: <E1UVVKn-0003e2-8i@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1UVVKY-0003cf-RM for ietf-http-wg@listhub.w3.org; Thu, 25 Apr 2013 23:11:58 +0000
Received: from mail-we0-f179.google.com ([74.125.82.179]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1UVVKX-0008QP-Ie for ietf-http-wg@w3.org; Thu, 25 Apr 2013 23:11:58 +0000
Received: by mail-we0-f179.google.com with SMTP id u3so3015555wey.38 for <ietf-http-wg@w3.org>; Thu, 25 Apr 2013 16:11:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=lwrpsarqkgd0DWaBUfUBVqz6VR6DRB56yMcGKL7NDRM=; b=d4rtBxD/mzs1FsvV/PN5xlaVuf+q06p5nvLz0grjFPYru5VT3gJRinLtHIjIufL2So wHpmmmETJa2NJRRbap5Unh4seD3I/SphOT4oFkEfYItKxKh3LEzyUnFqTL3g68KXc9SZ pKJdLgQ6ZSDma+GM6hNgoj4WdJsMpK737WSdJb7J9f8ysaVnGvusrOM5oI0QXEjXKLKB PxHLN891/xWXj0ZqXlGvx8nCbfV2fvFPTnoWBJz1tBtBZloWrHtTzR7GGdIo+3l6WSdh IYjdWab8OFYtG1MH6zfU13VUGkroUsqfKCBtySMvyN4N0Q8wVki/Zy2SGwQXHLTBNAqb 7tdA==
MIME-Version: 1.0
X-Received: by 10.180.183.133 with SMTP id em5mr551414wic.26.1366931491500; Thu, 25 Apr 2013 16:11:31 -0700 (PDT)
Received: by 10.194.33.102 with HTTP; Thu, 25 Apr 2013 16:11:31 -0700 (PDT)
In-Reply-To: <CABP7Rbc=hYTxuGm7jn=eDipbA23UW3MUc_jx2ALHfqHQt94OJg@mail.gmail.com>
References: <CABP7RbdBe-Xkx+CMvpN=_oNAqm6SyLyL+XNHRUKSqn8mjSDw1Q@mail.gmail.com> <CABkgnnW=Ve=9p2do5PncTVswTYCZqt-LMK50SYCKV1r8zEg=SQ@mail.gmail.com> <CABP7Rbc=hYTxuGm7jn=eDipbA23UW3MUc_jx2ALHfqHQt94OJg@mail.gmail.com>
Date: Thu, 25 Apr 2013 16:11:31 -0700
Message-ID: <CABkgnnVoHv+Wf=oYN=RSq2GHod-KrZ5gPq-gYmNvcRpMWFjNEQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=74.125.82.179; envelope-from=martin.thomson@gmail.com; helo=mail-we0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-2.601, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1UVVKX-0008QP-Ie 435ba017d312258fcb6b7d353c5aa668
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Design Issue: Max Concurrent Streams Limit and Unidirectional Streams
Archived-At: <http://www.w3.org/mid/CABkgnnVoHv+Wf=oYN=RSq2GHod-KrZ5gPq-gYmNvcRpMWFjNEQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17579
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>

On 25 April 2013 12:33, James M Snell <jasnell@gmail.com> wrote:
> Perhaps a simpler approach would be to just redefine the limit such
> that an endpoint MUST NOT have more than MAX_CONCURRENT_STREAMS in the
> Open state at any given time. We have already established that once
> the stream is half-closed, new frames cannot be sent, so once the
> server half-closes a steam it initiates, the counter is decremented
> and the server is permitted to initiate another stream. The client can
> choose to reject those additional streams if it chooses.

Do you mean that only outward bound streams count toward the
concurrency limit.  That could be workable; it's certainly easier to
explain.