Re: Permissible states for extension frames #591

Amos Jeffries <squid3@treenet.co.nz> Tue, 12 August 2014 09:53 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 3F2EC1A0391 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Aug 2014 02:53:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.17
X-Spam-Level:
X-Spam-Status: No, score=-6.17 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.668, 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 V1lt3S6Sh5NU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Aug 2014 02:53:43 -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 1D9281A037C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 12 Aug 2014 02:53:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1XH8iV-0000N0-SJ for ietf-http-wg-dist@listhub.w3.org; Tue, 12 Aug 2014 09:50:07 +0000
Resent-Date: Tue, 12 Aug 2014 09:50:07 +0000
Resent-Message-Id: <E1XH8iV-0000N0-SJ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1XH8i2-0007I3-1i for ietf-http-wg@listhub.w3.org; Tue, 12 Aug 2014 09:49:38 +0000
Received: from 121-99-228-82.static.orcon.net.nz ([121.99.228.82] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1XH8hy-0006cI-69 for ietf-http-wg@w3.org; Tue, 12 Aug 2014 09:49:38 +0000
Received: from [192.168.2.97] (unknown [203.184.52.78]) by treenet.co.nz (Postfix) with ESMTP id 39571E6D8B for <ietf-http-wg@w3.org>; Tue, 12 Aug 2014 21:49:04 +1200 (NZST)
Message-ID: <53E9E30C.1020500@treenet.co.nz>
Date: Tue, 12 Aug 2014 21:49:00 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <CABkgnnVgnJSmJW2B4nJ8Vb-Nwi3EF2pra7D_m8uqZfQ8H1a2eA@mail.gmail.com> <CAH_y2NGofk6bsLOr510MuSVuh9=EhTVBYROGBnAdeie-YQS-8Q@mail.gmail.com> <CABkgnnUZxaVnSOEf8D2HQGZRWc0K1UNs99FswdFYUz8Wg9cq=w@mail.gmail.com> <CAH_y2NGkitE9Ow+rhxL4a2U+hVJu=QN2C=Wy5ZrvWaLA3H9cXQ@mail.gmail.com>
In-Reply-To: <CAH_y2NGkitE9Ow+rhxL4a2U+hVJu=QN2C=Wy5ZrvWaLA3H9cXQ@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=121.99.228.82; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.450, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001
X-W3C-Scan-Sig: lisa.w3.org 1XH8hy-0006cI-69 8ded22e049ad561b91c144a8b969f102
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Permissible states for extension frames #591
Archived-At: <http://www.w3.org/mid/53E9E30C.1020500@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/26591
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 12/08/2014 4:51 p.m., Greg Wilkins wrote:
> On 12 August 2014 13:00, Martin Thomson wrote:
> 
>> Greg, this issue has nothing whatsoever to do with CONTINUATIONS, other
>> than to note that extensions would not be permitted within a sequence of
>> continuations.
> 
> 
> 
> Martin,
> 
> I don't know how it is not related to continuations?    The question was
> are we OK with allowing extension frames to appear anywhere for any stream?
> 
> I'm not OK with that because of continuation frames, which I believe have
> to be sent in a contiguous block.   We have to specify that extensions
> frames are OK anywhere except between HEADERS and CONTINUATION and between
> CONTINUATION frames.
> 
> I would also be OK with extensions frames anywhere, but only if
> continuations allowed interleaving.... the consensus was not to do that, so
> we can't allows extension frames anywhere and have to have a more complex
> specification for them.
> 
> I'm sorry if it looks like I'm trying to fight the already lost
> continuation battle.   I'm not, I'm just making sure that we keep the
> specification consistent with the complexities of the continuation
> mechanism.

I dont see why we need to do that at all.

The specs for extensions is already that they cannot redefine existing
frame semantics or layout without an explicit ACK from the other end.
Such as the non-interleaving of HEADERS+CONTINUATION.

To me that means it is perfectly legal to define an extension for making
CONTINUATION interleave, BUT must not be done without explicit
negotiation of that extension.

Amos