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

Roberto Peon <grmocg@gmail.com> Fri, 23 May 2014 00:27 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 C2AAB1A02B5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 22 May 2014 17:27:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.671
X-Spam-Level:
X-Spam-Status: No, score=-6.671 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 YIeCbX3FAWXG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 22 May 2014 17:27:52 -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 59F101A0274 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 22 May 2014 17:27:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1WndIB-00035z-Va for ietf-http-wg-dist@listhub.w3.org; Fri, 23 May 2014 00:25:00 +0000
Resent-Date: Fri, 23 May 2014 00:24:59 +0000
Resent-Message-Id: <E1WndIB-00035z-Va@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1WndI1-00035G-9o for ietf-http-wg@listhub.w3.org; Fri, 23 May 2014 00:24:49 +0000
Received: from mail-oa0-f52.google.com ([209.85.219.52]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1WndHz-0003JY-VY for ietf-http-wg@w3.org; Fri, 23 May 2014 00:24:49 +0000
Received: by mail-oa0-f52.google.com with SMTP id eb12so4867491oac.39 for <ietf-http-wg@w3.org>; Thu, 22 May 2014 17:24:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=q0aDSZcMKS9zijM2U7vaWpbVS5zM7GZlSe79/eic5tE=; b=ahODiskLXIrojvw1hF0mgypQ4c2QZudArtfGDr5xHiFPE6ydfept/oiF1sWqaf3lyK /ry2vsgH3YTJ7xOtDib3Ayr+aBdfs+SpErsyLiqYpQAChjqnTXBe3xy9baoYb1xp/IQp X3o97A3LNJc/SxPXs9Bxf4ozGdJJHW7Hy2Aj2Br8fhOkn9uIDA6qrA/kmXPRodrWvXFc NmWVsHZi4FuHfXtaCmyOKZxemVcGaNXggyIpUnGPYju5M3XgxHJXvWNh9OPvGcfn9Xa0 U+2MM2F+hGPFXH1ZMMrjYbgV2FRhFyC4TvJX8hwCaApqSWrDGj8LL/oJAR04tZ4UGKje 14GA==
MIME-Version: 1.0
X-Received: by 10.60.115.202 with SMTP id jq10mr1263828oeb.0.1400804662043; Thu, 22 May 2014 17:24:22 -0700 (PDT)
Received: by 10.76.74.230 with HTTP; Thu, 22 May 2014 17:24:21 -0700 (PDT)
In-Reply-To: <CACweHNAbK+gz1T2q6jGqmTp8D6ELctA2HGXJD=ECFOuy-X8uqA@mail.gmail.com>
References: <20140522172435.21175.94088.idtracker@ietfa.amsl.com> <239431af5fe34e57a704ea52f84e1991@BL2PR03MB132.namprd03.prod.outlook.com> <CACweHNAbK+gz1T2q6jGqmTp8D6ELctA2HGXJD=ECFOuy-X8uqA@mail.gmail.com>
Date: Thu, 22 May 2014 17:24:21 -0700
Message-ID: <CAP+FsNeFRcBfDcQP+Oqh6WSnTcb9W-gjUirxxgjd3pKvW=--5A@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Matthew Kerwin <matthew@kerwin.net.au>
Cc: Mike Bishop <Michael.Bishop@microsoft.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="089e0118324047eb9e04fa0640e3"
Received-SPF: pass client-ip=209.85.219.52; envelope-from=grmocg@gmail.com; helo=mail-oa0-f52.google.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-2.855, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 1WndHz-0003JY-VY db014e00320c63133beae3b6aadaf12c
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/CAP+FsNeFRcBfDcQP+Oqh6WSnTcb9W-gjUirxxgjd3pKvW=--5A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/23776
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>

Extensions cannot safely modify the semantics of defined frames. This is
implied from:

Such frames are, by definition, informational and can be
   safely ignored without affecting the shared state with the sender.

Anything that does modify defined-frame semantics isn't guaranteed to
interoperate, and is more than simply an extension.

-=R


On Thu, May 22, 2014 at 4:48 PM, Matthew Kerwin <matthew@kerwin.net.au>wrote:

> 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/
>