Re: [hybi] Is it important to know frame length at the start of frame? (was: Re: Discontinuation of mux ...)

Takeshi Yoshino <tyoshino@google.com> Mon, 24 February 2014 21:23 UTC

Return-Path: <tyoshino@google.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 660111A02CA for <hybi@ietfa.amsl.com>; Mon, 24 Feb 2014 13:23:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.925
X-Spam-Level:
X-Spam-Status: No, score=-1.925 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.547, 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 Pm9Zii0DW_9e for <hybi@ietfa.amsl.com>; Mon, 24 Feb 2014 13:23:57 -0800 (PST)
Received: from mail-we0-x231.google.com (mail-we0-x231.google.com [IPv6:2a00:1450:400c:c03::231]) by ietfa.amsl.com (Postfix) with ESMTP id 518531A026D for <hybi@ietf.org>; Mon, 24 Feb 2014 13:23:57 -0800 (PST)
Received: by mail-we0-f177.google.com with SMTP id t61so5083669wes.22 for <hybi@ietf.org>; Mon, 24 Feb 2014 13:23:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=6hLaGy7Lv2NdvMaVDJPs7rHEyZVFFDZbLQ3/eXYbuTA=; b=XBc+YE7iCt+qOFTwV0zi6RdZfC/woYv7hovdbJAWV565RVoHz8X7heLttH+3fS3Q8s an7aA5J2uq6KMGIgNdkJWVH3lmF/iVopENQvWxzpYb0o1MUcwe2ZZmdzIl87kG/MHHg7 tWZazCIqgsJzQlvt9mAGQ3HpRsZjNpHho/mKxkhg2jLpMUWX/kcWw+MYdd1kYhBfTL9t sHQrpFoMa+pWPUVcqV0zXc1SF3yn+39gMnenhWBA4Z0rOdNfF8oLBchI3NacQpXix93Z IfWVBctQhQ+Fin5gvYDfFvre8wlmcHYqpb8hteBfdFl4h5vhVcvYuIddHVf9vym5TmML UNIQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=6hLaGy7Lv2NdvMaVDJPs7rHEyZVFFDZbLQ3/eXYbuTA=; b=lK9XueKm4mSbmhE1GhwyItboIJJ/vey1LmqcVsQhwUuo2uq0hcJOFm9JYgBRKqyq3v j/RN7OL54hxIXKib2+u3M+TTq4WJy42F336mWgNpp7YxSakY4+p7CDV4Wu/vly5soC3C Dc6cdyHqW7ZjpdGZOmYOvRSE6D7TeuB6bqpsW1zZfgi00/b/2Jt/vUDn1bA4TclPW2wI 8kjj9NhNKxAux+OB+ZffHvVxdx6CACpGbAvSsC65sCDVR+n2TR0bFCjFma+ntnKSjBRj a3hxuKQF6cNtm7NbhWwKE5WFcXd32B6hz5H/HRIHFWh5ab2ohYPztf7NfZ6lKuDNRKVk RTmw==
X-Gm-Message-State: ALoCoQkyAQn4j7vvTu6VDqoWztvs+s96MSfN9h0LqGD6wo99DWioUYaeZns8toDgkTflXM2k4g0Aklgjjy3Tpaet2SCT+movpmMioPyg9CIQ5uGTTqCh4ppwsGf9DsmjBOxq6JPM5Wdnm6Qm68mQ4agmpwUpvkEXALr3jxF4wsrN8SNYjG3FeOHx8wMo9sh/QIawrzmxwPJF
X-Received: by 10.180.107.136 with SMTP id hc8mr16392479wib.11.1393277036240; Mon, 24 Feb 2014 13:23:56 -0800 (PST)
MIME-Version: 1.0
Received: by 10.194.8.231 with HTTP; Mon, 24 Feb 2014 13:23:36 -0800 (PST)
In-Reply-To: <CACuKZqHTr0vufQr5mEHM2__NconW_d6jrzTpD0JKEzsiP09uwg@mail.gmail.com>
References: <CAH9hSJbf_ABT7ECL9eS=_ADrncX8qBtxZv=uLcdu9_6GUv23Uw@mail.gmail.com> <CACuKZqEcA1Pv8RpWfmThMjTzi2BbVMMKXqujs6BxVfxRPZJ9NQ@mail.gmail.com> <CAG4zZZCr4aTfVpw2coX2g0qw++4kdgNCFVze6tHKZ+fJNqb0aQ@mail.gmail.com> <CAG4zZZA4WR50Ea2e36XEgTgpJURwiMFn+DXeYuxHFfZatYzDOQ@mail.gmail.com> <CAH9hSJYv5VXGjS7AfG12-ArEvE6Uj_eE6pPxAiQcchcgV8vHcg@mail.gmail.com> <CAH9hSJbzra7uz7yfKQwfZaP_jhnxwdZyx8JnwCmBGhiMk6rbtg@mail.gmail.com> <CAG4zZZC1cmaH36znAvVLZE_MyJ+ThNk1Ky7tQ-QnKf_qwiQNDw@mail.gmail.com> <CAG4zZZB3h6TTFLUp-ucYQP7tMf-8=h5fh1UqufMh3w-0JN+hSw@mail.gmail.com> <CAH9hSJaeCrLjkhHUzaaGDw-apiSv-eaPZeYGEHBuwRoF3yPCOA@mail.gmail.com> <CAH9hSJY4NResx4DskJM8agd5ZXo9yHELYaXOpWG-xXK8P4+9zw@mail.gmail.com> <CACuKZqHTr0vufQr5mEHM2__NconW_d6jrzTpD0JKEzsiP09uwg@mail.gmail.com>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Tue, 25 Feb 2014 06:23:36 +0900
Message-ID: <CAH9hSJaw5YpQ2bsDVZ+AXZSa7PLEzjcXb55Lm7hefZ855=kr9Q@mail.gmail.com>
To: Zhong Yu <zhong.j.yu@gmail.com>
Content-Type: multipart/alternative; boundary="e89a8f3bad45d1bd0704f32d9630"
Archived-At: http://mailarchive.ietf.org/arch/msg/hybi/Kv_54oWWPGc3B9s0xUGHI1gF2Wc
Cc: "hybi@ietf.org" <hybi@ietf.org>, Peter Thorson <webmaster@zaphoyd.com>
Subject: Re: [hybi] Is it important to know frame length at the start of frame? (was: Re: Discontinuation of mux ...)
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Feb 2014 21:23:59 -0000

On Tue, Feb 25, 2014 at 5:29 AM, Zhong Yu <zhong.j.yu@gmail.com> wrote:

> It there any problem if we mandate that 1 http frame corresponds to 1
> ws frame, and 1 ws frame must reside in 1 http frame? What's the point
> of supporting ws frames that need multiple http frames?
>

That's not what I'd like to discuss in this thread. I wanted to get
agreement on that HTTP/2.0 level length + END_SEGMENT is enough regardless
of whether we keep WebSocket frame boundary or not.

So, let's discuss that in another thread.


>
> On Mon, Feb 24, 2014 at 12:28 PM, Takeshi Yoshino <tyoshino@google.com>
> wrote:
> > Thanks all for your comments.
> >
> > First, please note that I wanted to discuss the question in the context
> of
> > WS/HTTP/2.0 layering. Not about redesign of RFC 6455 itself.
> >
> > I asked this question since the length header is the biggest field when
> > encoded into HTTP/2.0 HEADERS format. Whether we can eliminate it or not
> in
> > WS/HTTP/2.0 is one of the most important points to evaluate the plans
> > employing HTTP/2.0 HEADERS.
> >
> > Though the ranges the length headers represent differ (HTTP/2.0: 14 bit,
> WS
> > length format: 63 bit), it seems everyone can live without a header of
> > "original WebSocket frame size".
> >
> > Please reply to this post if you have any objection, but please don't
> write
> > objection to use of HTTP/2.0 HEADERS itself in this thread.
> >
> > Thanks
>