Re: Design Issue: Separate HEADERS and PRIORITY Frames, Eliminate HEADERS+PRIORITY

James M Snell <jasnell@gmail.com> Sun, 26 May 2013 15:33 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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 60B2121F89E2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 26 May 2013 08:33:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.385
X-Spam-Level:
X-Spam-Status: No, score=-9.385 tagged_above=-999 required=5 tests=[AWL=1.213, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1tu1rwmpUzvC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 26 May 2013 08:33:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 11FE721F87BB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 26 May 2013 08:33:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ugcvb-0003IK-9b for ietf-http-wg-dist@listhub.w3.org; Sun, 26 May 2013 15:32:11 +0000
Resent-Date: Sun, 26 May 2013 15:32:11 +0000
Resent-Message-Id: <E1Ugcvb-0003IK-9b@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1UgcvO-0003C1-IP for ietf-http-wg@listhub.w3.org; Sun, 26 May 2013 15:31:58 +0000
Received: from mail-oa0-f54.google.com ([209.85.219.54]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Ugcv4-0008PT-7z for ietf-http-wg@w3.org; Sun, 26 May 2013 15:31:58 +0000
Received: by mail-oa0-f54.google.com with SMTP id o17so8018724oag.13 for <ietf-http-wg@w3.org>; Sun, 26 May 2013 08:31:12 -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=4ISB8VkyChNssZ0/byT7V7oq+DmF8kipliyb+qkJm3c=; b=S5xZDtRQTjd/bt5HP1VYiCJFmzZAXdhSo85fIGPUO1IGyfidwFRkCoSa0xJHT5IkM7 wWGhXE5zJlUQNPuPyoLwD4oa6TA62N5iQCbSJl0mAz0/6l4Yw1qXvmaLYG29h7V0r1K0 HSjhUExw02uAQ+GWmfRcuJCrfnA0X8+Ak5hMHbrHH6J9bJEIMZk9GvyGxgMWrOhOxXGN v9ymwkTFJS9tkMu0ruQTDmILzcQ7h4GFgpfDGGSKE1QctNAkBn4uki0Aiv/dUOtXHmIl LRLTgDnaGWUxttq+WIdxCmtPFvIpQVrGJrTNnIPzHc1bWSjGx6LwnfoRnkd+XdlatqJh TASg==
MIME-Version: 1.0
X-Received: by 10.60.16.69 with SMTP id e5mr4015285oed.46.1369582272368; Sun, 26 May 2013 08:31:12 -0700 (PDT)
Received: by 10.60.3.137 with HTTP; Sun, 26 May 2013 08:31:12 -0700 (PDT)
Received: by 10.60.3.137 with HTTP; Sun, 26 May 2013 08:31:12 -0700 (PDT)
In-Reply-To: <CA+pLO_j8CX9vddtogsjz80uN=kv6vE7V1dJqEuJdTtGO64PYyw@mail.gmail.com>
References: <CABP7RbfX_H_7dwM7ExL5qJgpV5JN1NYyv9tqnu_E23qGk63mWg@mail.gmail.com> <CAA4WUYhDhoS+BNknRnYLAOXfWzumcjkWnQnM=NkNM8oqqE=atw@mail.gmail.com> <CAOdDvNqkuY5qtOzFz5J0v1F1_n8HmFY9J==sXMs_9tDrTTE=cg@mail.gmail.com> <CAA4WUYhZb_ScYZ=F8ypGkXkX=3oK+4TnyWOtuN_FNkZqqhbZLQ@mail.gmail.com> <CABP7RbeAwrT15QKn5kL0=w+V0zBgObe_pOzT-NxbwSrZ_RyA+A@mail.gmail.com> <CAP+FsNd95pXcPM1OiG2qjOyXKV80noh2frdEbORwe6HxsgeK3Q@mail.gmail.com> <CABP7RbfOWdaOVeVSmnrqUtHM5F8=xjLauDBoRbpijWsWxyK+rw@mail.gmail.com> <CA+pLO_g892Cr1B8GtN01j1GArU0+Mkoya2UAAb893ZrfKdyeEA@mail.gmail.com> <CAP+FsNe4=hVsm3sNerAdELECHz_2m8aWOLK-Kif-JVz_G=HyKw@mail.gmail.com> <CA+pLO_jaDNWyZyxsWVQ2YuBG8kuZjo1KovmBVfa2d9vVYb56dg@mail.gmail.com> <CAP+FsNd0AZEDXvTD7uvEgFK-4GRShj9tEcam0C68t4S_ySTNUw@mail.gmail.com> <CA+pLO_i84tPbrVZgE-0uLeZs5UB0wY2PLn=R9V74ZUe+0TyfiA@mail.gmail.com> <CAP+FsNcWfdgtW+-6tpXgcAPZSNHOdBuoMXLY4nPyf4YoLTeotg@mail.gmail.com> <CA+pLO_gV4YS6FVMiQ0rzDEHCYnOJdeGftY4Z0nm18qfaQBdofA@mail.gmail.com> <CAP+FsNfBoh6wcqTUHfHPhbf8zZ4Vj=i2Lg4bEG5wcyuUwz60eQ@mail.gmail.com> <CA+pLO_j8CX9vddtogsjz80uN=kv6vE7V1dJqEuJdTtGO64PYyw@mail.gmail.com>
Date: Sun, 26 May 2013 08:31:12 -0700
Message-ID: <CABP7RbdUSLTN1YJDkigfqvMJw7hUh4Uv+CYSsFETn6N+EQ0NdA@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
To: Jeff Pinner <jpinner@twitter.com>
Cc: =?UTF-8?B?Q2hhbldpbGxpYW0o6ZmI5pm65piMKQ==?= <willchan@chromium.org>, Roberto Peon <grmocg@gmail.com>, Patrick McManus <pmcmanus@mozilla.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=089e0149c674d5d60204dda0b835
Received-SPF: pass client-ip=209.85.219.54; envelope-from=jasnell@gmail.com; helo=mail-oa0-f54.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.704, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 1Ugcv4-0008PT-7z 146339613fcbaa99ff0649aa477727d8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Design Issue: Separate HEADERS and PRIORITY Frames, Eliminate HEADERS+PRIORITY
Archived-At: <http://www.w3.org/mid/CABP7RbdUSLTN1YJDkigfqvMJw7hUh4Uv+CYSsFETn6N+EQ0NdA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18100
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 May 26, 2013 7:31 AM, "Jeff Pinner" <jpinner@twitter.com> wrote:
>
[snip]
>
> So since we have frame specific flags now can we just use them and drop
to duplicated frame type so that only one frame is used for stream creation?
>
> 1. remove frame 0x08 HEADERS as duplicated
> 2. rename frame 0x01 from HEADERS+PRIORITY to HEADERS and indicate that
it is the only frame that may create a stream
> 3. add flag 0x02 PRIORITY to the HEADERS frame to indicate the first 4
bytes of the frame contain a priority field
> 4. add flag 0x04 CONTINUED to the HEADERS frame to indicate that the
headers block is split across a second frame which must be the next frame
sent on the wire
> 5. add a frame 0x02 PRIORITY that is 4 bytes long and must be sent only
on open streams
>
> a slightly different shade of shed :)

+1... This works for me.