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

Matthew Kerwin <matthew@kerwin.net.au> Fri, 23 May 2014 02: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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A82681A0012 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 22 May 2014 19:07:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.93
X-Spam-Level:
X-Spam-Status: No, score=-6.93 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, 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 ZPoyz2v31nt4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 22 May 2014 19:07:46 -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 719921A0026 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 22 May 2014 19:07:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Wneqj-0005Ck-VI for ietf-http-wg-dist@listhub.w3.org; Fri, 23 May 2014 02:04:45 +0000
Resent-Date: Fri, 23 May 2014 02:04:45 +0000
Resent-Message-Id: <E1Wneqj-0005Ck-VI@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 1WneqY-0005Bi-Kg for ietf-http-wg@listhub.w3.org; Fri, 23 May 2014 02:04:34 +0000
Received: from mail-qc0-f173.google.com ([209.85.216.173]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <phluid61@gmail.com>) id 1WneqW-0006Un-La for ietf-http-wg@w3.org; Fri, 23 May 2014 02:04:34 +0000
Received: by mail-qc0-f173.google.com with SMTP id i8so7075340qcq.18 for <ietf-http-wg@w3.org>; Thu, 22 May 2014 19:04:06 -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=VBjJTUuXsvw9Q1ssm+TsDHYp9LLSitQO+AR6TzU4oAo=; b=F0EtNIedTZtb5zYNAi2TSziYF3GjLigtAV394xY+QpZLlDNdAo+nmjxVCSkXJH9Tvw MRjNsGvk5vLxSE5culiuAJkUBKmXM+RM4Ox0rEJb8el+GYtxgWEV9bz67csabYf7b+FA WsncNYWx1MgDE4tdhwupPfp8XV3AHP4y+bZEhcSjpq661t2wR4aH9GpZXtouRF4kB9R8 x4D5xN20F8AaSzHHtaP9BTcXpnIrxVwyz+Ljllde2PsxM51FJV+8995YN2juDcSPBx+A SguAyzItLtU377q4OxKYf+2fF8RoPxIeIZzaKRxEmosnQi9JDQX0fkdpQ6roUYOjGGpd ueTw==
MIME-Version: 1.0
X-Received: by 10.140.50.2 with SMTP id r2mr2128248qga.96.1400810646452; Thu, 22 May 2014 19:04:06 -0700 (PDT)
Sender: phluid61@gmail.com
Received: by 10.140.43.98 with HTTP; Thu, 22 May 2014 19:04:06 -0700 (PDT)
In-Reply-To: <CAP+FsNeFRcBfDcQP+Oqh6WSnTcb9W-gjUirxxgjd3pKvW=--5A@mail.gmail.com>
References: <20140522172435.21175.94088.idtracker@ietfa.amsl.com> <239431af5fe34e57a704ea52f84e1991@BL2PR03MB132.namprd03.prod.outlook.com> <CACweHNAbK+gz1T2q6jGqmTp8D6ELctA2HGXJD=ECFOuy-X8uqA@mail.gmail.com> <CAP+FsNeFRcBfDcQP+Oqh6WSnTcb9W-gjUirxxgjd3pKvW=--5A@mail.gmail.com>
Date: Fri, 23 May 2014 12:04:06 +1000
X-Google-Sender-Auth: 5wXBymNDS938UCOG1WoavDgqooc
Message-ID: <CACweHNAD-RnawEMCJfBTDAAsrcV9NNUDSe8LwHw-1L_27EGkag@mail.gmail.com>
From: Matthew Kerwin <matthew@kerwin.net.au>
To: Roberto Peon <grmocg@gmail.com>
Cc: Mike Bishop <Michael.Bishop@microsoft.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a11351852fac2e804fa07a46b"
Received-SPF: pass client-ip=209.85.216.173; envelope-from=phluid61@gmail.com; helo=mail-qc0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-3.1
X-W3C-Hub-Spam-Report: AWL=-2.658, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1WneqW-0006Un-La bf8854ceefe560d82897cde4c958f33a
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/CACweHNAD-RnawEMCJfBTDAAsrcV9NNUDSe8LwHw-1L_27EGkag@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/23780
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>

On 23 May 2014 10:24, Roberto Peon <grmocg@gmail.com> wrote:

> 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.
>
>
Sorry, I should have looked at the appendices a bit better.

So, an extension can't extend DATA frames, nor replace them without going
hop-by-hop. The only end-to-end extensions we can introduce must be
informational.

Presumably this stems from the fact that we can't negotiate end-to-end
extensions. I guess a justification here is that you can use
application-level extensions instead? (I.e. new HTTP headers, etc., which
*are* end-to-end, and can be used for negotiation.)

I'd probably prefer the proposal if it just eliminated end-to-end
extensions altogether. That would harden up a lot of the wishy-washy
"ignore without error" cases, and I can't think of an end-to-end extension
(especially an informational one) that can't equally be served by a new
HTTP header*.  As a result extensions are less rich than I could have
hoped, but they're simple enough to actually potentially get implemented.


* Particularly since "An end-to-end frame on stream zero is meaningless,
and MUST be discarded upon receipt." If it's on a stream, it might as well
be in a header. The only difference is that extension frames are flow
controlled and headers (currently) aren't.


Incidentally, the compressed data frames in Appendix 3 are pretty wild; it
might be less controversial to reign them in a bit, to more closely match
what's currently in the draft (and align with the discussion that lead
thereto).


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