Re: [#150] Making certain settings mandatory

Jeff Pinner <jpinner@twitter.com> Sat, 29 June 2013 19:04 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 4234021F9EC6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 29 Jun 2013 12:04:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level:
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 zIfzR4NiQD7q for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 29 Jun 2013 12:04:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 23B4A21F9F03 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 29 Jun 2013 12:04:36 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ut0RP-0003AJ-VD for ietf-http-wg-dist@listhub.w3.org; Sat, 29 Jun 2013 19:04:11 +0000
Resent-Date: Sat, 29 Jun 2013 19:04:11 +0000
Resent-Message-Id: <E1Ut0RP-0003AJ-VD@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jpinner@twitter.com>) id 1Ut0RC-00039a-2m for ietf-http-wg@listhub.w3.org; Sat, 29 Jun 2013 19:03:58 +0000
Received: from mail-ob0-f181.google.com ([209.85.214.181]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jpinner@twitter.com>) id 1Ut0RB-0006mU-A6 for ietf-http-wg@w3.org; Sat, 29 Jun 2013 19:03:58 +0000
Received: by mail-ob0-f181.google.com with SMTP id 16so2964642obc.40 for <ietf-http-wg@w3.org>; Sat, 29 Jun 2013 12:03:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=twitter.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=oo+SU5bJZC6GQLIF8ID7+G/Wn/2e+ANYcSJ/ZkdPTL4=; b=c3bmiIvJUMET4pzsriaXom8UV6Ok0BlAPoMf7p9rPP1kIExhF3xp+x1SZtkoOqDKiX 2fEzhO8Hv1f5vP403F3MJVjDn+oQ/R6cfohas4pXw7QdWspWH2ztZ5b+uYBNlli8Plxc SuMmy9Gaku0wg2Fczv5hjwWlm4Y3XHCSvF7sQ=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=oo+SU5bJZC6GQLIF8ID7+G/Wn/2e+ANYcSJ/ZkdPTL4=; b=P+y4ZKnxgWJdzI2c1i7YCrIpGnRqCfG7jxG/7eFXmjqtebijDni+Oiz542GZQKWpLG O1hhG0M/mQ0Je0G7gcds37axWaqthJpVFKbO0Wq6AptUmN7IVfoEa6ZidNCRIgl0I/B5 SG4y7kg1sMCDlg0TMjM+4hEPFQUgvnoa1tp0isc5xWAbC7udxi5nU59Qm3G0FiXg3KAc ywKx+R1lMWbzGYBkyGevlR/iPcEmPQGsM4ZYIUv6jzdUfItcXDDW6Da2DSn9P0JH+BYQ 57lsKJCuV6dpeJhCcPy6e7vma1dIPmjq9hNIIjeCf6l4RuT3wbJdMu2P4go19wDN0mBe UTdQ==
MIME-Version: 1.0
X-Received: by 10.182.61.19 with SMTP id l19mr8540310obr.55.1372532611400; Sat, 29 Jun 2013 12:03:31 -0700 (PDT)
Received: by 10.182.7.37 with HTTP; Sat, 29 Jun 2013 12:03:31 -0700 (PDT)
In-Reply-To: <CABaLYCs8vb35CoL+A4mh7-PkbnKXxjz+jCJ_z-ivzYnYKF=VWQ@mail.gmail.com>
References: <CABkgnnW2xi3pAKyg2Abi15Gb11ZCFi+D_QUQw1566BVXb65iHg@mail.gmail.com> <CABaLYCs8vb35CoL+A4mh7-PkbnKXxjz+jCJ_z-ivzYnYKF=VWQ@mail.gmail.com>
Date: Sat, 29 Jun 2013 12:03:31 -0700
Message-ID: <CA+pLO_gFrAow2==sZx8_57Hw81d24V4HaqJCEc63WhZSAoWdBA@mail.gmail.com>
From: Jeff Pinner <jpinner@twitter.com>
To: Mike Belshe <mike@belshe.com>
Cc: Martin Thomson <martin.thomson@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="e89a8fb1ef72bed17804e04fa6b0"
X-Gm-Message-State: ALoCoQm5uizTr776ZQAd8E3Ig1K4HQPOkdvHhLKgT/GG7vZICbbZ83zkfpmY6OKbHRDUi18mUL0F
Received-SPF: pass client-ip=209.85.214.181; envelope-from=jpinner@twitter.com; helo=mail-ob0-f181.google.com
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-2.993, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Ut0RB-0006mU-A6 e3adc7442da8e505219f0b32b5ff6b1b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [#150] Making certain settings mandatory
Archived-At: <http://www.w3.org/mid/CA+pLO_gFrAow2==sZx8_57Hw81d24V4HaqJCEc63WhZSAoWdBA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18419
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>

+1 To consistent handling of frames, whatever the rules are.


On Thu, Jun 27, 2013 at 11:05 AM, Mike Belshe <mike@belshe.com> wrote:

> I believe the bytes are completely inconsequential.
>
> My goal with this was to make it so there is only one set of rules for
> SETTINGS frames.  Currently, there is the "oh this is the first settings
> frame rules".
>
> This is not going to have impact on performance, but removing edge cases
> is desirable to me.
>
> Mike
>
>
>
> On Thu, Jun 27, 2013 at 10:27 AM, Martin Thomson <martin.thomson@gmail.com
> > wrote:
>
>> This pull request proposes to make two settings mandatory in every
>> SETTINGS frame: SETTINGS_MAX_CONCURRENT_STREAMS and
>> SETTINGS_INITIAL_WINDOW_SIZE.
>>
>> https://github.com/http2/http2-spec/pull/150
>>
>> Gabriel's proposal for an HTTP/1.1 header for carrying settings in the
>> Upgrade made these mandatory only at that point, which didn't cover
>> the TLS handshake, or just starting from prior knowledge.
>>
>> Two questions:
>>  - Do we want to make any settings mandatory, or are defaults acceptable?
>>  - Is this the right trade-off? Or are the 16 bytes on subsequent
>> SETTINGS frames completely intolerable.
>>
>> Note that if we make these settings mandatory, there might be other
>> settings in the future that will also be mandatory; e.g., the
>> compression context size.
>>
>>
>