Re: MAX_CONCURRENT_STREAMS=0 and PUSH_PROMISE
Martin Thomson <martin.thomson@gmail.com> Tue, 23 July 2013 22:14 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 6096511E8160 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Jul 2013 15:14:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.562
X-Spam-Level:
X-Spam-Status: No, score=-9.562 tagged_above=-999 required=5 tests=[AWL=1.037, 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 GDcA5DQpJo1x for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Jul 2013 15:14:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A6D5211E8150 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Jul 2013 15:14:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1V1kpt-0000ip-01 for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Jul 2013 22:13:37 +0000
Resent-Date: Tue, 23 Jul 2013 22:13:37 +0000
Resent-Message-Id: <E1V1kpt-0000ip-01@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1V1kpi-0000gu-Ud for ietf-http-wg@listhub.w3.org; Tue, 23 Jul 2013 22:13:26 +0000
Received: from mail-we0-f170.google.com ([74.125.82.170]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1V1kpi-0002sd-97 for ietf-http-wg@w3.org; Tue, 23 Jul 2013 22:13:26 +0000
Received: by mail-we0-f170.google.com with SMTP id w60so1494457wes.1 for <ietf-http-wg@w3.org>; Tue, 23 Jul 2013 15:13:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VUm6B/n+rxrwc0UqbMMwCxLGAI0Rw3CexbmeEPrHxdk=; b=FxAFwhnJ3Q6JILyrQayyBcIwEq4/F1joDru7uyX05d581eQrLLuNUUQMLtQQpg3h+j NHVNpmnCfxZzhYxZVwtqHOUZiaY4clsAbbbV7iqYFDYHqaPn5B5KlRXgW0do7wlrkoWU bRpQKi9q5jpn4VtM+WuNuIa82vdcUxbWUgly5qaxSSCeut++nD5LjN/sv7kp4bih19Hs nUMRIm3nbSI4QsLNbZvR2nTUsBoizLV0VLQpfHPH/TERmdAvGgMwfmpagpUc+UV2GYk9 a+JIxR290CeVm/OWyPNvklOav2x7b6vG0dD6X1yQu2cLn5aBudL+JBw7y2YgTdOUz5AG /W5w==
MIME-Version: 1.0
X-Received: by 10.194.77.99 with SMTP id r3mr24622851wjw.5.1374617580173; Tue, 23 Jul 2013 15:13:00 -0700 (PDT)
Received: by 10.194.60.46 with HTTP; Tue, 23 Jul 2013 15:13:00 -0700 (PDT)
In-Reply-To: <CAP+FsNc5tef8WRCaH-_6z5se=vVPscSQ3+GfEF0T02q8oKq6WA@mail.gmail.com>
References: <CA+KJw_5PcUxBiUnQ00=G2C4Q6MnaB=hpNDk+9eTeZMs3Lz-CpA@mail.gmail.com> <CAP+FsNf7YBDfO_=fW7nPHXdUi0F+0+4S2AUm_T2gHtqYhER8MA@mail.gmail.com> <20130723190419.GA25817@LK-Perkele-VII> <CAP+FsNc5tef8WRCaH-_6z5se=vVPscSQ3+GfEF0T02q8oKq6WA@mail.gmail.com>
Date: Tue, 23 Jul 2013 15:13:00 -0700
Message-ID: <CABkgnnWx5d_3U+tFQYG68+NCGC3Q2Hfm_PD0hgALeawb+PY-ZA@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Roberto Peon <grmocg@gmail.com>
Cc: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>, Gábor Molnár <gabor.molnar@sch.bme.hu>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=74.125.82.170; envelope-from=martin.thomson@gmail.com; helo=mail-we0-f170.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.672, 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: maggie.w3.org 1V1kpi-0002sd-97 adf64f0e6ab287cd57ddf7483956d837
X-Original-To: ietf-http-wg@w3.org
Subject: Re: MAX_CONCURRENT_STREAMS=0 and PUSH_PROMISE
Archived-At: <http://www.w3.org/mid/CABkgnnWx5d_3U+tFQYG68+NCGC3Q2Hfm_PD0hgALeawb+PY-ZA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18891
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 23 July 2013 14:32, Roberto Peon <grmocg@gmail.com> wrote: > Even if push promises were limited by some configuration, changes to that > configuration can cause this condition to occur. Thus, clients must be able > to handle PUSH_PROMISE frames by at least discarding them. I'm a little concerned by the suggestion that PUSH_PROMISE can simply be discarded. It creates a reservation for a stream, which necessarily creates state in the client. If, as you point out, the client could lift this limit from zero, is there some corresponding expectation that the client remembers all of these reserved streams so that they can enter the right state at the point that the server decides to exercise the reservation? Without any limits on number or the time that a reservation can remain outstanding, the only rational response a client implementer has is to reset those streams, if they don't want unbounded state commitment (even if it is a relatively small allocation for each stream - 2 bits in the best case - anything greater than zero could be problematic). We've done a lot to protect resources on a server, but I don't think that a client is able to limit the commitments it has to make in order to continue to use a connection.
- MAX_CONCURRENT_STREAMS=0 and PUSH_PROMISE Gábor Molnár
- Re: MAX_CONCURRENT_STREAMS=0 and PUSH_PROMISE Martin Thomson
- Re: MAX_CONCURRENT_STREAMS=0 and PUSH_PROMISE James M Snell
- Re: MAX_CONCURRENT_STREAMS=0 and PUSH_PROMISE Martin Thomson
- Re: MAX_CONCURRENT_STREAMS=0 and PUSH_PROMISE Roberto Peon
- Re: MAX_CONCURRENT_STREAMS=0 and PUSH_PROMISE Ilari Liusvaara
- Re: MAX_CONCURRENT_STREAMS=0 and PUSH_PROMISE Roberto Peon
- Re: MAX_CONCURRENT_STREAMS=0 and PUSH_PROMISE Martin Thomson
- Re: MAX_CONCURRENT_STREAMS=0 and PUSH_PROMISE Roberto Peon
- Re: MAX_CONCURRENT_STREAMS=0 and PUSH_PROMISE Martin Thomson
- Re: MAX_CONCURRENT_STREAMS=0 and PUSH_PROMISE Roberto Peon
- Re: MAX_CONCURRENT_STREAMS=0 and PUSH_PROMISE Martin Thomson
- Re: MAX_CONCURRENT_STREAMS=0 and PUSH_PROMISE Roberto Peon
- Re: MAX_CONCURRENT_STREAMS=0 and PUSH_PROMISE Leif Hedstrom
- Re: MAX_CONCURRENT_STREAMS=0 and PUSH_PROMISE Gábor Molnár