Re: [#150] Making certain settings mandatory

Mike Belshe <mike@belshe.com> Thu, 27 June 2013 18:07 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 7717E21F9E8A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 27 Jun 2013 11:07:17 -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 pOdhUgwBl418 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 27 Jun 2013 11:07:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1A96D21F9E87 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 27 Jun 2013 11:07:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UsGaY-0000oF-HO for ietf-http-wg-dist@listhub.w3.org; Thu, 27 Jun 2013 18:06:34 +0000
Resent-Date: Thu, 27 Jun 2013 18:06:34 +0000
Resent-Message-Id: <E1UsGaY-0000oF-HO@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1UsGaK-0000nW-PK for ietf-http-wg@listhub.w3.org; Thu, 27 Jun 2013 18:06:20 +0000
Received: from mail-bk0-f54.google.com ([209.85.214.54]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1UsGaG-0002ZX-KJ for ietf-http-wg@w3.org; Thu, 27 Jun 2013 18:06:20 +0000
Received: by mail-bk0-f54.google.com with SMTP id it16so436695bkc.41 for <ietf-http-wg@w3.org>; Thu, 27 Jun 2013 11:05:50 -0700 (PDT)
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=G8qp6zQgoNvoTxpsRnD50/SLCWm5B0NLJT0Eq+vUB/4=; b=D/sNHjGlIkIJnJOa7HYtGuTt3WCPJ2cgepQOoaHOS3e8AwQhtyU4PW7Cf/K2t4S6Yb 8BLN+kPsl1gbuDNBrmLhPJf48U2Ph6x8Zy+2TxkNUubMJZWgcpHEOiYx52nuLtKPmXIi JjGxyYX4DtFMqpJ2htbckxQnQjeiXkSN9tTQgI6Uuvfa+IdRr9Hx5U6zW0iR0qOaAmpP 1fls+FOCbhoGsgLzo8TscOlJhXnwgh5B1YNBtSStOmOB4ApemqroiaNAT4fLKjIjctQE 0ioqxCp24Mbf2HkP18AxFcbLdmLxcsr/NIV5K+spcK/QA8WFw3SkWH3iwGVrre+Z0Oto jMSA==
MIME-Version: 1.0
X-Received: by 10.204.232.196 with SMTP id jv4mr1334440bkb.159.1372356350148; Thu, 27 Jun 2013 11:05:50 -0700 (PDT)
Received: by 10.204.168.130 with HTTP; Thu, 27 Jun 2013 11:05:50 -0700 (PDT)
In-Reply-To: <CABkgnnW2xi3pAKyg2Abi15Gb11ZCFi+D_QUQw1566BVXb65iHg@mail.gmail.com>
References: <CABkgnnW2xi3pAKyg2Abi15Gb11ZCFi+D_QUQw1566BVXb65iHg@mail.gmail.com>
Date: Thu, 27 Jun 2013 11:05:50 -0700
Message-ID: <CABaLYCs8vb35CoL+A4mh7-PkbnKXxjz+jCJ_z-ivzYnYKF=VWQ@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="485b3979d3d6c1d87104e0269cfc"
X-Gm-Message-State: ALoCoQl9t3pQa2NHcK7CzU3Y4+hv37o7PacuLXHKQgqEBS5xRDlahLlBEqujwmFhWNgqXIqVWT9T
Received-SPF: none client-ip=209.85.214.54; envelope-from=mike@belshe.com; helo=mail-bk0-f54.google.com
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-3.101, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1UsGaG-0002ZX-KJ e1622e119bc41f8c7e18b3efaaeacc98
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [#150] Making certain settings mandatory
Archived-At: <http://www.w3.org/mid/CABaLYCs8vb35CoL+A4mh7-PkbnKXxjz+jCJ_z-ivzYnYKF=VWQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18397
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 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.
>
>