Re: New Version Notification for draft-kerwin-http2-encoded-data-01.txt

Matthew Kerwin <matthew@kerwin.net.au> Wed, 23 July 2014 08:13 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 7F68C1A0266 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 23 Jul 2014 01:13:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.281
X-Spam-Level:
X-Spam-Status: No, score=-6.281 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, 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 jwpiI_VWNNMD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 23 Jul 2014 01:13:19 -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 306CD1A02D8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 23 Jul 2014 01:12:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1X9rch-0000Eh-Q3 for ietf-http-wg-dist@listhub.w3.org; Wed, 23 Jul 2014 08:10:03 +0000
Resent-Date: Wed, 23 Jul 2014 08:10:03 +0000
Resent-Message-Id: <E1X9rch-0000Eh-Q3@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 1X9rcR-0007B8-L8 for ietf-http-wg@listhub.w3.org; Wed, 23 Jul 2014 08:09:47 +0000
Received: from mail-qg0-f41.google.com ([209.85.192.41]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <phluid61@gmail.com>) id 1X9rcQ-0003P8-1O for ietf-http-wg@w3.org; Wed, 23 Jul 2014 08:09:47 +0000
Received: by mail-qg0-f41.google.com with SMTP id q107so973455qgd.0 for <ietf-http-wg@w3.org>; Wed, 23 Jul 2014 01:09:20 -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=obbmw52VqQhaL7goudol32kBEiCeojRyRJuJyKIKDDc=; b=kJ3d8ar02NQWv693xF2GSECNmmT2VoesH6tbnt71pEGOGdUPqd7lVJ3unViZximBoX 72IzTFqvI6p8yX7J2pDFgl9lKEs5Q4m/jKIuBk2bGmYUdF4KeIAfVqcPiYWEAqabxlrJ eLskfcPYDO3iNEA0UyacMkwyrdfe5EhjkOoXC6JEiS4kJomM6KW1es7x5llyYM1qpfeZ uAxMMJeNFuhNmlnW+GHX/whUUxzL9M8yTydJndj0BYSRRot5HA2yJC7m7EYLgJA7oCus heHUPw7wklH8xAIWJ+BWSbn/wws+LNgN3pQBdiLhvntZNi8FwVIn2kKg7FRUy1FXU/ib rR7g==
MIME-Version: 1.0
X-Received: by 10.140.47.80 with SMTP id l74mr60535663qga.24.1406102960346; Wed, 23 Jul 2014 01:09:20 -0700 (PDT)
Sender: phluid61@gmail.com
Received: by 10.140.25.139 with HTTP; Wed, 23 Jul 2014 01:09:20 -0700 (PDT)
In-Reply-To: <CAP+FsNcFVu+pTRDYeD8KayiSOkpGPAUddyLK2UnegJHn8Zcubg@mail.gmail.com>
References: <20140721234651.7996.35285.idtracker@ietfa.amsl.com> <CACweHNDQ-rVJW6_uq=3H4Pcnf2NdbdE058OvXUVEnmfh+DJSnA@mail.gmail.com> <CAH_y2NGrwbUiOEHiux4e7qz=HHM3xSBRojpURkOO6d6E4ca5FA@mail.gmail.com> <CACweHNC6Pd_TSw2bBumFDiWDNxcxUHZZnm5=HvV76jGwVzDrYA@mail.gmail.com> <53CF3F43.5040609@treenet.co.nz> <CAP+FsNeAVHv+YoWwsA9u24ZPp-Au_FnVDqw6_wfv0AA_D0v-cg@mail.gmail.com> <CACweHNCc5SCXm+K_-AkfoVmorLQKjqnC2iHrhyToXYUSV7ygyA@mail.gmail.com> <CAP+FsNcFVu+pTRDYeD8KayiSOkpGPAUddyLK2UnegJHn8Zcubg@mail.gmail.com>
Date: Wed, 23 Jul 2014 18:09:20 +1000
X-Google-Sender-Auth: 2ueQSL0aeKr-4a0hM1pLT8JahUM
Message-ID: <CACweHNCW7DtBvOX9QB7Qt4CW8q8b52HJEbHqpRzsPJNU1G52Ug@mail.gmail.com>
From: Matthew Kerwin <matthew@kerwin.net.au>
To: Roberto Peon <grmocg@gmail.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.192.41; envelope-from=phluid61@gmail.com; helo=mail-qg0-f41.google.com
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: AWL=-2.742, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1X9rcQ-0003P8-1O ec9980a3767c41264a3ec84148f45156
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-kerwin-http2-encoded-data-01.txt
Archived-At: <http://www.w3.org/mid/CACweHNCW7DtBvOX9QB7Qt4CW8q8b52HJEbHqpRzsPJNU1G52Ug@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/26312
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/07/2014, Roberto Peon <grmocg@gmail.com> wrote:
> That is what the END_SEGMENT flag *was*, except without the overhead. Ah
> well.

Indeed. I'd even mentioned it as a potentially useful feature for
preventing BREACH back in the "compressed data" discussions. I've come
to realise, though, that flags aren't global; not all frames with
FLAGS&0x8 necessarily have padding (or whatever 0x8 is), and certainly
FLAGS&0x1 depends entirely on the frame type to know what it means; so
an END_SEGMENT on data/continuation doesn't imply anything at all
about the same flag being set on an extension frame. Thus, I didn't
and still don't have a problem with END_SEGMENT being removed from the
core frame types, in so far as this extension is concerned.


> Unless the extensions are deployed along with the first versions of HTTP2,
> it seems unlikely, given a requirement all intermediaries to understand a
> new extension, that an extension will survive transit through any generic
> intermediary. Intermediaries (that aren't controlled by the origin server
> or client) almost always upgrade more slowly than everything else.

Not just unlikely - disallowed, if it uses new frame types. This is a
known risk. In this case the people I've heard most support from are
those doing closed-network non-browser API stuff, and it'll probably
be the same for any other extensions. That's a result of there not
being a general end-to-end extension model, though, not just missing
END_SEGMENT.


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