RE: draft-bishop-httpbis-extended-settings-00 comments

Mike Bishop <Michael.Bishop@microsoft.com> Wed, 13 July 2016 17:38 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 38DBD12B047 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jul 2016 10:38:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.308
X-Spam-Level:
X-Spam-Status: No, score=-8.308 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.287, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wYCYZFjSMoJ5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jul 2016 10:38:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BAA8312B03A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jul 2016 10:38:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1bNO2k-00020S-O2 for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jul 2016 17:33:54 +0000
Resent-Date: Wed, 13 Jul 2016 17:33:54 +0000
Resent-Message-Id: <E1bNO2k-00020S-O2@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <Michael.Bishop@microsoft.com>) id 1bNO2f-0001yX-1n for ietf-http-wg@listhub.w3.org; Wed, 13 Jul 2016 17:33:49 +0000
Received: from mail-sn1nam01on0113.outbound.protection.outlook.com ([104.47.32.113] helo=NAM01-SN1-obe.outbound.protection.outlook.com) by maggie.w3.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from <Michael.Bishop@microsoft.com>) id 1bNO2c-00086T-32 for ietf-http-wg@w3.org; Wed, 13 Jul 2016 17:33:47 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=QUkLsEQB5YZTZfehy7LHmXn3JAT+C/VFuHretQ71l7Y=; b=W5DoW7HhvMIh8JazpAqHt6iufepv5Xa2cgZPcZjAU5da7bjCS1H3bh0rTooFuEJRlyDQ8RrL/brHED11mrf9+A6U+MGVDeBkv4A7TwmXYRLSf138VkGKDM8c9rd1D108yhSq02u+Q96ouCx+uRnnKotVw0F+C3Au9gWpbGWhWGw=
Received: from BL2PR03MB1905.namprd03.prod.outlook.com (10.164.115.25) by BL2PR03MB1905.namprd03.prod.outlook.com (10.164.115.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.544.4; Wed, 13 Jul 2016 17:33:18 +0000
Received: from BL2PR03MB1905.namprd03.prod.outlook.com ([10.164.115.25]) by BL2PR03MB1905.namprd03.prod.outlook.com ([10.164.115.25]) with mapi id 15.01.0544.004; Wed, 13 Jul 2016 17:33:18 +0000
From: Mike Bishop <Michael.Bishop@microsoft.com>
To: Martin Thomson <martin.thomson@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Thread-Topic: draft-bishop-httpbis-extended-settings-00 comments
Thread-Index: AQHR3MNCgfQLYFHZUUCWjhiaHs+4HaAWnR3A
Date: Wed, 13 Jul 2016 17:33:18 +0000
Message-ID: <BL2PR03MB1905E3502DF31C9DC631F59187310@BL2PR03MB1905.namprd03.prod.outlook.com>
References: <CABkgnnW6Yowz2PGzXDCx3g9wC66HfjMWqW=nU0yLUXVxB1s+RA@mail.gmail.com>
In-Reply-To: <CABkgnnW6Yowz2PGzXDCx3g9wC66HfjMWqW=nU0yLUXVxB1s+RA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Michael.Bishop@microsoft.com;
x-originating-ip: [131.107.147.26]
x-ms-office365-filtering-correlation-id: 093020fc-5b12-4e8f-b451-08d3ab43c768
x-microsoft-exchange-diagnostics: 1; BL2PR03MB1905; 6:ZhAgs3V29ZFRNjY/IHP7Lnr0zW7gIkXwv7o4mlFfbcP4mLGAo1LAAAN6SjZdiXgyhKXM7WUY2vzngCQncr6W+klQxbE/14/1zbjFRigMhks/3OpHjOWoUKKag8zmoQubgpDqIaMGRRd1eQqwT8IfyzD8gR9HD4QSJgpFVLWrnCeNsdMRv7zYaD63cfCuuDgAGSR0H/+gLp1XdLoYKj6b64VCqoLBTN3HFVAjsXalC6DKKrmN2R3g3W4OADaAeOLOM52FHsYCzYclXXilh1qDa5KWF5No/kqkyIKAF9qQZCPsENCZZrP/xU/nGfGiiDqL/+RoHLTNGhpgdGRvitbpXQ==; 5:bE89SCbjJVTn1TIOmbU8hVXqvgYOZLIq3p/bkrZ9YXQ4sjKNaWEks6MvA2uWEmy9RiwXYn7YEErvp6DY0Neli3WAvQtoa1Wr8Y8QDDdwphYv5wyrB06w3xj5SAOP2EKXSZqXIu+xBoBRaN7fYIhnUQ==; 24:A1fPMp4m2BUqQrayO4Vaci8BZz2CUF/O0QLZhinl8C+ndWGqaW8EgFdXcCQRrcyTIVRdiQA8WH3YhXerfyXO0KhQfIK1ZSJwxoOqyjlJjAo=; 7:ve7flIxYG41n6xWGTIXxc+lBIYZmXicjaiJE0zktMV84HiESACTk5wJthN4jTQ3z6KF/lRd2COs3qTj3NnfG9R3CooFdav8ql+V5IhcfYCn4SDHPUou3E0RvKf2Bm/0ch8RHkN+MpexKEAogDpwq/YK9LbgHKoJrzoGiVVYUTnjojAN/iXIiYaVEs517oADmE00v3wiMgEbui/IJM0AwErY6v6hYdEjznkVOtPwjgzp7SRyYC4wDSJ0d+1Pa6c7R
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB1905;
x-o365eop-header: O365_EOP: Allow for Unauthenticated Relay
x-o365ent-eop-header: Message processed by - O365_ENT: Allow from ranges (Engineering ONLY)
x-microsoft-antispam-prvs: <BL2PR03MB19052F4CBB14348C1B7F0EE287310@BL2PR03MB1905.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026)(61426038)(61427038); SRVR:BL2PR03MB1905; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB1905;
x-forefront-prvs: 000227DA0C
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(51444003)(189002)(13464003)(199003)(377454003)(77096005)(7846002)(2906002)(106116001)(50986999)(76176999)(7736002)(5003600100003)(5001770100001)(7696003)(3280700002)(33656002)(86612001)(99286002)(81156014)(10400500002)(101416001)(5005710100001)(81166006)(76576001)(66066001)(54356999)(105586002)(189998001)(122556002)(10290500002)(8676002)(19580395003)(92566002)(106356001)(19580405001)(10090500001)(230783001)(68736007)(8990500004)(74316002)(97736004)(5002640100001)(86362001)(2900100001)(305945005)(8936002)(2950100001)(3846002)(107886002)(6116002)(102836003)(586003)(11100500001)(87936001)(9686002)(3660700001)(21314002); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR03MB1905; H:BL2PR03MB1905.namprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jul 2016 17:33:18.3666 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB1905
Received-SPF: pass client-ip=104.47.32.113; envelope-from=Michael.Bishop@microsoft.com; helo=NAM01-SN1-obe.outbound.protection.outlook.com
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: AWL=-2.567, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_NW=0.5
X-W3C-Scan-Sig: maggie.w3.org 1bNO2c-00086T-32 599b7b404ed19b9557440e54d65ef93e
X-Original-To: ietf-http-wg@w3.org
Subject: RE: draft-bishop-httpbis-extended-settings-00 comments
Archived-At: <http://www.w3.org/mid/BL2PR03MB1905E3502DF31C9DC631F59187310@BL2PR03MB1905.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/31954
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 mostly agree.  Certainly each extension could just define a XXX_SETTINGS frame that carries its own extension-local semantics.  There's no drawback to the extension itself to doing so -- describing a frame payload versus describing a setting payload is pretty equivalent spec work.  The question is whether it simplifies implementations to have a single instance of how to handle this frame, versus having to code handling for each XXX_SETTINGS frame as it gets defined, each with its local quirks.  However, that inclines me to the other direction -- this isn't substantially more difficult than adding a CERT_SETTINGS frame to the certs draft, and it might simplify something in the future, so why not?  I just worry that instances where this could have been used will crop up with just low enough frequency that there are never more than 1-2 outstanding at a time, but they'll exist.

You're correct that the setting to enable this could be replaced with a requirement to MUST send one of these, even if it's empty.  You need something to gate enabling the ACK timer on, but which of those two it is doesn't really matter.

As to the HTTP/1.1 header on upgrade, that's a good point and should probably be defined. The flip side of this versus legacy SETTINGS is that I could envision this growing pretty large in some instances -- it might make more sense to encode each setting as a header.  Details we can sort out if we go down this road.

-----Original Message-----
From: Martin Thomson [mailto:martin.thomson@gmail.com] 
Sent: Tuesday, July 12, 2016 9:53 PM
To: HTTP Working Group <ietf-http-wg@w3.org>
Subject: draft-bishop-httpbis-extended-settings-00 comments

I am conflicted about this draft.  On the one hand, it's the design we should have had for HTTP/2.  I like that it's more general, saves space in most cases, and includes a flag to request acknowledgment.
All these are real improvements.

On the other hand, I don't think we need it now, and I'm not convinced that will ever need it.  At some level, we can achieve the same effect with careful use of SETTINGS and new frames.  For that reason, I'm inclined to keep this on hold until we identify a few things that depend on this.

-- on the details:

Section 2.  I think that SETTINGS_EXTENDED_SETTINGS is redundant.  You can simply send the EXTENDED_SETTINGS frame to indicate that you support it and have a reason to do so.  In most cases, the need to support the frame will come with a need to send the frame, so it's a pretty simple optimization.

What do you want to do about Http2-Settings?  Have we given up on the pretense that there is a cleartext variant of HTTP/2?