Re: Fw: New Version Notification for draft-bishop-http2-extension-frames-01.txt

Matthew Kerwin <matthew@kerwin.net.au> Thu, 22 May 2014 23:52 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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5639F1A027D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 22 May 2014 16:52:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.949
X-Spam-Level:
X-Spam-Status: No, score=-5.949 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, HTML_FONT_FACE_BAD=0.981, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.651, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 6FBqKpEV8Pz7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 22 May 2014 16:52:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E1F2E1A0248 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 22 May 2014 16:52:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1WncjX-000410-6g for ietf-http-wg-dist@listhub.w3.org; Thu, 22 May 2014 23:49:11 +0000
Resent-Date: Thu, 22 May 2014 23:49:11 +0000
Resent-Message-Id: <E1WncjX-000410-6g@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phluid61@gmail.com>) id 1WncjO-00040C-2d for ietf-http-wg@listhub.w3.org; Thu, 22 May 2014 23:49:02 +0000
Received: from mail-qc0-f178.google.com ([209.85.216.178]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <phluid61@gmail.com>) id 1WncjL-0001rE-Qg for ietf-http-wg@w3.org; Thu, 22 May 2014 23:49:02 +0000
Received: by mail-qc0-f178.google.com with SMTP id l6so6880190qcy.23 for <ietf-http-wg@w3.org>; Thu, 22 May 2014 16:48:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=xawEvPQqXLAwNt50NMW1oVd6DNA3/rfV+rnnsz/NtiE=; b=Y5S9lSe9RAwkecatPo4mNfwHIXdCwAXPGmD2pmUj91LRMGW1NvBk7wuvXHFuiTu9GH nVnHN7FwxFDxcqkbll5FRWG0Ds6Yh0gZkBLZT2U/v/KG5E29POieRUbzQ5JYwGEZG4H9 TENgs3WTgxTj//HclUOzVaq/GAIXPKUdJ586PH0+WlIKhZGt4KIZaukIj+h1TIt6jz7e euNert9CpZdZ8bW+2PlMRZq13VXAQBX370/0G7FLanTpxWu6fxRy8zDXeSiVVgTJIMcu iVHn+KPMD+ADGkhExJeb14gCR9u4pXtYkPcxXt8Pytb/4Euz3Zyl8IUaSQPYoFNjS+9M TUGg==
MIME-Version: 1.0
X-Received: by 10.224.60.137 with SMTP id p9mr1435513qah.92.1400802513570; Thu, 22 May 2014 16:48:33 -0700 (PDT)
Sender: phluid61@gmail.com
Received: by 10.140.43.98 with HTTP; Thu, 22 May 2014 16:48:33 -0700 (PDT)
In-Reply-To: <239431af5fe34e57a704ea52f84e1991@BL2PR03MB132.namprd03.prod.outlook.com>
References: <20140522172435.21175.94088.idtracker@ietfa.amsl.com> <239431af5fe34e57a704ea52f84e1991@BL2PR03MB132.namprd03.prod.outlook.com>
Date: Fri, 23 May 2014 09:48:33 +1000
X-Google-Sender-Auth: LaKIxzjY_2D6Bmar0m_muMiO0qE
Message-ID: <CACweHNAbK+gz1T2q6jGqmTp8D6ELctA2HGXJD=ECFOuy-X8uqA@mail.gmail.com>
From: Matthew Kerwin <matthew@kerwin.net.au>
To: Mike Bishop <Michael.Bishop@microsoft.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a1133d89438d05904fa05c09e"
Received-SPF: pass client-ip=209.85.216.178; envelope-from=phluid61@gmail.com; helo=mail-qc0-f178.google.com
X-W3C-Hub-Spam-Status: No, score=-3.0
X-W3C-Hub-Spam-Report: AWL=-2.878, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_FONT_FACE_BAD=0.289, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1WncjL-0001rE-Qg ca5d9b20dfed09912e22221b1d7aff90
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Fw: New Version Notification for draft-bishop-http2-extension-frames-01.txt
Archived-At: <http://www.w3.org/mid/CACweHNAbK+gz1T2q6jGqmTp8D6ELctA2HGXJD=ECFOuy-X8uqA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/23774
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 like this. Is an unwritten implication of the proposal that an extension
can redefine existing frame types?

I'm thinking of DATA compression as an extension, adding settings
parameters/flags/frame headers/etc. The current compression mechanism is
hop-by-hop, and it would be negotiated as a hop-by-hop extension, so it
works there; but I'll have to think more about the implications for
introducing end-to-end compression. My initial reaction is that we'd have
to introduce an extension frame type that duplicates DATA, like
COMPRESSED_DATA. This could have far reaching consequences, especially for
things like caching or transforming proxies.

Also: there's a lot of "it's safe it ignore these" things in there. I'd
feel much more comfortable if there were some more hard, loud failures.

3.3.4.1.  Handling by Intermediaries

   Intermediaries MUST forward all end-to-end frames regardless of
   whether they recognize the frame type.  Endpoints (user agents and
   origin servers) MUST discard any frame types which they do not
   recognize.  Such frames are, by definition, informational and can be
   safely ignored without affecting the shared state with the sender.

   All hop-by-hop extension-defined frames MUST be dropped by
   intermediaries which do not support the extension.  However, each
   extension SHOULD specify how an intermediary translates the frames
   defined by the extension toward other peers which might or might not
   support the same extension.  When an intermediary advertises support
   for an extension, it MUST abide by the extension-defined intermediary
   behavior.

3.4:

   [...] Implementations MUST ignore unknown settings and
   MUST NOT emit settings defined by an extension which has not been
   announced in an EXTENSIONS (Section 3.3.2) frame.

If extensions are negotiated, there should never be a case where you
receive an extension-defined frame type or setting that you don't
recognise, so it should be a hard error. At the least you'd be flagging a
broken implementation.



On 23 May 2014 03:34, Mike Bishop <Michael.Bishop@microsoft.com> wrote:

>   When we decided in Zurich to foreclose the option to extend HTTP/2, we
> thought that we were close to done with the basic protocol.  And it’s true
> -- the fundamentals of HTTP/2 haven’t changed all that much since
> then.  But various cases keep coming up where certain parties need to add
> one more feature.  While these aren’t core to the HTTP/2 protocol, they’re
> also not worth versioning the protocol for later, and so we’ve added them
> to the spec for experimentation as optional components.
>
> This draft proposes that many of these would be perfectly valid use-cases
> for extensions, and that we might make progress more quickly if we add a
> simple extension model.  I believe that the time we take in getting the
> extension model right will be more than offset by the ability to unblock
> the protocol and still handle new situations as they arise, even though
> we’re late in the process.
>
> I want to emphasize that the goal of the extension model is simplicity in
> the core protocol, and I’d welcome feedback on how to simplify it further.
>   Sent from Windows Mail
>
>   *From:* internet-drafts@ietf.org
> *Sent:* ‎Thursday‎, ‎May‎ ‎22‎, ‎2014 ‎10‎:‎24‎ ‎AM
> *To:* Mike Bishop <Michael.Bishop@microsoft.com>, Mike Bishop<Michael.Bishop@microsoft.com>
>
>
> A new version of I-D, draft-bishop-http2-extension-frames-01.txt
> has been successfully submitted by Mike Bishop and posted to the
> IETF repository.
>
> Name:  draft-bishop-http2-extension-frames
> Revision: 01
> Title:  Extension Frames in HTTP/2
> Document date: 2014-05-22
> Group:  Individual Submission
> Pages:  18
> URL:
> http://www.ietf.org/internet-drafts/draft-bishop-http2-extension-frames-01.txt
> Status:
> https://datatracker.ietf.org/doc/draft-bishop-http2-extension-frames/
> Htmlized:
> http://tools.ietf.org/html/draft-bishop-http2-extension-frames-01
> Diff:
> http://www.ietf.org/rfcdiff?url2=draft-bishop-http2-extension-frames-01
>
> Abstract:
>    This document describes a proposed modification to the HTTP/2
>    specification to better support the creation of extensions without
>    the need to version the core protocol or invoke additional protocol
>    identifiers.
>
>
>
>
>
> Please note that it may take a couple of minutes from the time of
> submission
> until the htmlized version and diff are available at tools.ietf.org.
>
> The IETF Secretariat
>
>


-- 
  Matthew Kerwin
  http://matthew.kerwin.net.au/