Re: Extending HTTP/2 | Re: New Version Notification for draft-mcmanus-httpbis-h2-websockets-00.txt

Patrick McManus <mcmanus@ducksong.com> Sat, 11 November 2017 22:34 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 CC04B12421A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 11 Nov 2017 14:34:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.398
X-Spam-Level:
X-Spam-Status: No, score=-6.398 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=sendgrid.me
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 iflLQFzwm9aj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 11 Nov 2017 14:34:41 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8F4D71200CF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 11 Nov 2017 14:34:41 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1eDeDL-000405-Ae for ietf-http-wg-dist@listhub.w3.org; Sat, 11 Nov 2017 22:25:23 +0000
Resent-Date: Sat, 11 Nov 2017 22:25:23 +0000
Resent-Message-Id: <E1eDeDL-000405-Ae@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net>) id 1eDeDD-0003yL-97 for ietf-http-wg@listhub.w3.org; Sat, 11 Nov 2017 22:25:15 +0000
Received: from o1.7nn.fshared.sendgrid.net ([167.89.55.65]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from <bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net>) id 1eDeDB-0005mx-82 for ietf-http-wg@w3.org; Sat, 11 Nov 2017 22:25:14 +0000
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sendgrid.me; h=mime-version:in-reply-to:references:from:subject:to:cc:content-type; s=smtpapi; bh=SZ3m9PvAwwZJRalUdMkBJS4P0hw=; b=JYDw0BgRHBtN8LOEFH pDsyCLiHVpij8zlxinURivFH5CoRNWjtMihx4PhDm96yu3YiwnVYKe28HizhSPlU kyV2kGcMb8LZblQCnkVtcIXh1TD6xS6D4YQMMqo6KjO3XM4KY7fxDLIwoOVMfhMA Hth073M2DnIwNAEKEr+HQVwMc=
Received: by filter0012p3iad2.sendgrid.net with SMTP id filter0012p3iad2-20993-5A0778B2-30 2017-11-11 22:24:50.964309912 +0000 UTC
Received: from mail-lf0-f42.google.com (mail-lf0-f42.google.com [209.85.215.42]) by ismtpd0006p1lon1.sendgrid.net (SG) with ESMTP id n9sszZj_Qmu5_SNo51hCAg for <ietf-http-wg@w3.org>; Sat, 11 Nov 2017 22:24:50.526 +0000 (UTC)
Received: by mail-lf0-f42.google.com with SMTP id w21so14558478lfc.6 for <ietf-http-wg@w3.org>; Sat, 11 Nov 2017 14:24:50 -0800 (PST)
X-Gm-Message-State: AJaThX54TuVY9x7XlCwiJjW7BQxSnUJK59SxptyU8ppSmb2IuqLWl9XU uPIbYXTR9i+/TfNLucDZiIoGN8acvQYILes1B/o=
X-Google-Smtp-Source: AGs4zMY2cNbuGP8AEnh8xNHUkv0xdrRdUeDdfgqGEaFI2FXcUTMErSPz0f+DCyEwkHy+PtgyJXsAX64CHUWIv/TtG5s=
X-Received: by 10.46.34.129 with SMTP id i123mr1663414lji.106.1510439089533; Sat, 11 Nov 2017 14:24:49 -0800 (PST)
MIME-Version: 1.0
Received: by 10.25.151.9 with HTTP; Sat, 11 Nov 2017 14:24:48 -0800 (PST)
In-Reply-To: <MWHPR08MB34720F4DE0B015DC46301636DA550@MWHPR08MB3472.namprd08.prod.outlook.com>
References: <CAOdDvNrTeZkeYybjcCmQnAK4zEmRSbL=7kBRxjPSo+ODsdVJyA@mail.gmail.com> <20171111210725.4A2D553719@welho-filter1.welho.com> <MWHPR08MB34720F4DE0B015DC46301636DA550@MWHPR08MB3472.namprd08.prod.outlook.com>
From: Patrick McManus <mcmanus@ducksong.com>
Date: Sat, 11 Nov 2017 22:24:51 +0000
X-Gmail-Original-Message-ID: <CAOdDvNp8Hqr+4vb+meojUVPpFHNky-4aesD0DArsNKHLr9QXeA@mail.gmail.com>
Message-ID: <CAOdDvNp8Hqr+4vb+meojUVPpFHNky-4aesD0DArsNKHLr9QXeA@mail.gmail.com>
To: Mike Bishop <mbishop@evequefou.be>
Cc: Kari Hurtta <hurtta-ietf@elmme-mailer.org>, HTTP Working Group <ietf-http-wg@w3.org>, Patrick McManus <mcmanus@ducksong.com>, Cory Benfield <cory@lukasa.co.uk>
Content-Type: multipart/alternative; boundary="f4030439a93862fd18055dbc8189"
X-SG-EID: YLWet4rakcOTMHWvPPwWbcsiUJbN1FCn0PHYd/Uujh6Gcds+fp20uQz7djBrR5hwFOUsu6IR3lNInV RCPpGkYK5IxctgFoTGjLGJP5SlsmVojKTarjJb2ePTIqYyF3virbF/niSwDLSALKmiy6qUSn8Luenk vXf6Mjlcf+n6T8DKceDshFLWD3+SEL7yzqG3kWvzQQsR17Npplj45vemUmZQ/fmxkEzWkjQD2xrzym g=
Received-SPF: pass client-ip=167.89.55.65; envelope-from=bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net; helo=o1.7nn.fshared.sendgrid.net
X-W3C-Hub-Spam-Status: No, score=-5.1
X-W3C-Hub-Spam-Report: AWL=-0.690, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1eDeDB-0005mx-82 74ca998134751819177d72ae1f80d23c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Extending HTTP/2 | Re: New Version Notification for draft-mcmanus-httpbis-h2-websockets-00.txt
Archived-At: <https://www.w3.org/mid/CAOdDvNp8Hqr+4vb+meojUVPpFHNky-4aesD0DArsNKHLr9QXeA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/34763
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'm with Mike. It also gives the rather more radical example of changing
the layout of the HEADERS frame, which is not a manifestation of the
enumerated mechanisms either and would certainly violate otherwise
normative requirements of non-extended 7540.. the "limitations" it is
referring to is fundamentally the need for opt-in for this kind of change -
not a limitation against the change itself.


On Sun, Nov 12, 2017 at 5:33 AM, Mike Bishop <mbishop@evequefou.be> wrote:

> "any aspect of the protocol" seems clear enough to me.  Though perhaps it
> was an oversight not to have a registry for new pseudo-headers.
>
> -----Original Message-----
> From: hurtta@[192.168.0.26] [mailto:hurtta@[192.168.0.26]] On Behalf Of
> Kari Hurtta
> Sent: Sunday, November 12, 2017 5:07 AM
> To: HTTP Working Group <ietf-http-wg@w3.org>
> Cc: Kari Hurtta <hurtta-ietf@elmme-mailer.org>; Patrick McManus <
> mcmanus@ducksong.com>; Cory Benfield <cory@lukasa.co.uk>
> Subject: Extending HTTP/2 | Re: New Version Notification for
> draft-mcmanus-httpbis-h2-websockets-00.txt
>
> >> Doesn’t the introduction of a new pseudo-header field violate RFC
> >> 7540 Section 8.1.2.1, which says endpoints MUST NOT generate new
> >> pseudo-header fields?
> >>
> >> Or is the position that that MUST NOT implicitly applies only if
> >> there are no negotiated extensions in use?
> >>
> >>
> >right - negotiating an extension via 7540 section 5.5 is an opt-in
> >procedure that lets you do just about anything you agree to..
>
> I note that new pseudo-headers are not mentioned.
>
> 5.5.  Extending HTTP/2
> https://tools.ietf.org/html/rfc7540#section-5.5
>
> "   HTTP/2 permits extension of the protocol.  Within the limitations
> "   described in this section, protocol extensions can be used to provide
> "   additional services or alter any aspect of the protocol.  Extensions
> "   are effective only within the scope of a single HTTP/2 connection.
>
> and
>
> "   Extensions are permitted to use new frame types (Section 4.1), new
> "   settings (Section 6.5.2), or new error codes (Section 7).  Registries
> "   are established for managing these extension points: frame types
> "   (Section 11.2), settings (Section 11.3), and error codes
> "   (Section 11.4).
>
> This makes unclear that extensions are permitted to use new pseudo header
> fields or other elements mentioned on HTTP/2 which are not listed on here.
>
> Of course you can change anything by saying that specification updates RFC
> 7540.
>
> / Kari Hurtta
>
>