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

William Chan (陈智昌) <willchan@chromium.org> Fri, 03 May 2013 17:32 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 81E9B21F869C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 3 May 2013 10:32:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.077
X-Spam-Level:
X-Spam-Status: No, score=-7.077 tagged_above=-999 required=5 tests=[FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, 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 sP1K7jt28px4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 3 May 2013 10:32:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C418C21F96E6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 3 May 2013 09:46:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UYJ6t-0005oA-E6 for ietf-http-wg-dist@listhub.w3.org; Fri, 03 May 2013 16:45:27 +0000
Resent-Date: Fri, 03 May 2013 16:45:27 +0000
Resent-Message-Id: <E1UYJ6t-0005oA-E6@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <willchan@google.com>) id 1UYJ6j-0005lh-2J for ietf-http-wg@listhub.w3.org; Fri, 03 May 2013 16:45:17 +0000
Received: from mail-qa0-f46.google.com ([209.85.216.46]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1UYJ6e-0002Bj-KM for ietf-http-wg@w3.org; Fri, 03 May 2013 16:45:17 +0000
Received: by mail-qa0-f46.google.com with SMTP id g10so290660qah.19 for <ietf-http-wg@w3.org>; Fri, 03 May 2013 09:44:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=hI8pyf8K1yG8br0AGrvYal1AEeVuSRcVhtXyJkRMwsM=; b=irLeMn5LtAYFA6V11P4EJeD1QLKz+cARoht233bkYlaVmx5+3RvWT63/WZWft76E3f mehX6t2O98/Vs5S8ollbe7HEooilNEusO2eIWgiqs6Vz21aumc7fDIafTI/MF9rwWGk8 RZvPnCyE8UrQ3c5XqndFc9Y+qruS6bn6yCcCZP0cvj7PJCbyKocu0+MLI67y0Uf8wP9v 1gnvXKFLvOQ1nmy0ICP+kpWuMYsGO2JXeOKrBHSlkP8DhiiCDuFEAGSPsWoeSwrWHwfd 3UChjZvq6Z/fgzW9XEVnaKvhg2IN9rULcqRZnqTmX7quika7pWmuqnAgtAk5baUZkVn+ Ib6w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=hI8pyf8K1yG8br0AGrvYal1AEeVuSRcVhtXyJkRMwsM=; b=MFbZpbay3RMjExSurLrUuA1da0vZICuGgX9VrVSpTzwiB3I+xdv0FNlralDt447wgw PAZnuvoNLKbmVGXsQEMkOjDrmvwhUzkjUpVRhf7KY3yjsT4LGJm1GB4PDlclkuznXfeL Xmt1SJH43jV9diZMiFT7RuBArg/WzBPDdacWU=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=hI8pyf8K1yG8br0AGrvYal1AEeVuSRcVhtXyJkRMwsM=; b=fZmn8S+iy0xqeYJs9JHf9I6IHByEKG7yuVbqGP9wtAl6lAHhrESKr06VsBfjWnhOX3 LfOg536c36fs4GbzvU3l8DTVS3BOCADnYnhG95wtEFlfMzvwoH4V8gBNciAvrnM9jJir l7ChXpW+q9uPcorZ9RpqZbf93U22sY7CRDnKTAp5M8MqdaJnbA8UpWO/gVVNnSV4T3E0 HMEh5Ai0wOOh/PadnIFSSapEba8wLSH+1ZY3q8nYAqB5ZbCSYRDxW1D750Bhw8pNnJ1Z oB1rv8zfMGz7rbUbukn+cU3EOuXE0Nn5/a18BcxWWziWw6AIXN7gGfw6HywMhIvINvHM I+kQ==
MIME-Version: 1.0
X-Received: by 10.224.79.138 with SMTP id p10mr8594499qak.13.1367599486795; Fri, 03 May 2013 09:44:46 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.229.180.4 with HTTP; Fri, 3 May 2013 09:44:46 -0700 (PDT)
In-Reply-To: <CABP7RbfbmTqFHPkRvj2K6iZ=Oo7MsT3hD9Y33fmtU9HOLoDmUA@mail.gmail.com>
References: <CABP7RbdBe-Xkx+CMvpN=_oNAqm6SyLyL+XNHRUKSqn8mjSDw1Q@mail.gmail.com> <CAA4WUYgCiyWerT0tUUVKcbNPqdTGuXHd_MG59DjcUsEWst5t7g@mail.gmail.com> <CABkgnnVdU=cZ53Bqg5Un=E80NMpcgYO37DVmwUFW0O-i7SNf8w@mail.gmail.com> <CAA4WUYhz64FsEGgGhx91RfWwuPPxWdAkesOV-bmqWVWE7ZxdjA@mail.gmail.com> <CABP7RbcKQkn1o4WZscwNmSmm6YzqE_TKxPr4jnozNdaVqpZ7=A@mail.gmail.com> <CAA4WUYhF6rAZoYEaz4aJO6xawaJxzxGt=Bkg4H9eBOP-LBSRmQ@mail.gmail.com> <CAP+FsNezQzxdZEJY_2_0h_TR2pBbVsGyGBhQhKcm-65pt6S8rQ@mail.gmail.com> <CABP7RbevS8M0q9OxzPncqY_gE34q5-ymdg2hOX2SQgSUNkhzsw@mail.gmail.com> <CAA4WUYjAbuUqz9RdO+-p3a4EsyuS=Gv0rS-U-Vh+ZCjtDjFy6w@mail.gmail.com> <CAP+FsNec2LLZMjtGhSX-1q8qg66WtBoM5K0yMrs5m4VKXb5OVg@mail.gmail.com> <CAA4WUYgAT64jj=Am06MsA02A+eAcDrVbbgb4opO37bnMkWTPfg@mail.gmail.com> <CABP7Rbdgz=kRZPfjHK5UUfieq8uz=ToQZjFt1-+s9scj1CogmA@mail.gmail.com> <CAA4WUYjSjFKSdbj=QBLn0T4ufhzF1hUY=O=Qa2dfnkTzMXF0bg@mail.gmail.com> <CABP7RbejssYWH+nEumVX__+4TnE1ec8e1YXeY8kqWF+AgszTrg@mail.gmail.com> <CAA4WUYiRVxM78Dr+eh9ksVvW_9=S01mHxt_Wr+SyaVECmc0e-g@mail.gmail.com> <CABP7RbexX0T=yYKPeKFeGEnzMAcO7fAifZh6LfLCOngLDNQHUA@mail.gmail.com> <CABkgnnUeicCNUa70GW7Vv9-bbwLPiPM=2-_t28Qz5o6DT0jF8Q@mail.gmail.com> <CABP7RbfbmTqFHPkRvj2K6iZ=Oo7MsT3hD9Y33fmtU9HOLoDmUA@mail.gmail.com>
Date: Fri, 3 May 2013 13:44:46 -0300
X-Google-Sender-Auth: SElX54anz_bTiLmu4BpRbi_Fgmc
Message-ID: <CAA4WUYj81k1dK-LV+=h-yto4WEpVWFaRnCQZ+h55mipYCnQeYw@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: James M Snell <jasnell@gmail.com>
Cc: Martin Thomson <martin.thomson@gmail.com>, Roberto Peon <grmocg@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=047d7bf0de889b2da504dbd311ea
X-Gm-Message-State: ALoCoQmmNoM2A6ctG5fGq+HmCxfmLUHW54j/V1fP5XzqFrE3VWQwxwau0MuoKSgHXLcSJSCIqToD7EEyh2DFrQ7754/9C8K+O6GL93R2sf5gMtqNKCj26hFYwfRxdcLrX/LDtd4LZfqYfQaqFX2HSLxP+lQgdKqzpPejS4Gwc+NPxRe2g2A+ZLS5ciZnfhK/d+U+YYy15um5
Received-SPF: pass client-ip=209.85.216.46; envelope-from=willchan@google.com; helo=mail-qa0-f46.google.com
X-W3C-Hub-Spam-Status: No, score=-4.8
X-W3C-Hub-Spam-Report: AWL=-1.434, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-2.581, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1UYJ6e-0002Bj-KM 47a3bfc41bc4cffe492814da54020b32
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/CAA4WUYj81k1dK-LV+=h-yto4WEpVWFaRnCQZ+h55mipYCnQeYw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17799
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>

I'd like server folks to chime in, but doing this makes me feel a bit
nervous. I feel this effectively disables the directional concurrent
streams limit. The bidirectional full-close essentially acts like an ACK,
so removing it might result in an unbounded number of streams.


On Thu, May 2, 2013 at 2:41 PM, James M Snell <jasnell@gmail.com>; wrote:

> That works too. If folks are agreement on that particular approach I
> can work up the spec changes necessary to describe stream state in
> those terms.
>
> On Thu, May 2, 2013 at 10:22 AM, Martin Thomson
> <martin.thomson@gmail.com>; wrote:
> > I think that this is going in the wrong direction.
> >
> > If you consider that streams are not the owners of state, but each
> > direction is the owner of state, then this whole issue disappears.
> > For a push, the client->server direction never opens*.  Simple.  No
> > flags.
> >
> >[snip[
>