Re: [hybi] Straw poll: Do you miss interjectable WebSocket level control frame? (was: Re: Discontinuation of mux ...)

Roberto Peon <fenix@google.com> Wed, 19 February 2014 19:36 UTC

Return-Path: <fenix@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 1BECD1A03F7 for <hybi@ietfa.amsl.com>; Wed, 19 Feb 2014 11:36:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.926
X-Spam-Level:
X-Spam-Status: No, score=-1.926 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.548, 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 Mvt43VdunApZ for <hybi@ietfa.amsl.com>; Wed, 19 Feb 2014 11:36:01 -0800 (PST)
Received: from mail-oa0-x232.google.com (mail-oa0-x232.google.com [IPv6:2607:f8b0:4003:c02::232]) by ietfa.amsl.com (Postfix) with ESMTP id CC3981A03DE for <hybi@ietf.org>; Wed, 19 Feb 2014 11:36:01 -0800 (PST)
Received: by mail-oa0-f50.google.com with SMTP id n16so997534oag.23 for <hybi@ietf.org>; Wed, 19 Feb 2014 11:35:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5VedZIO6KhWK0xZdN9bjdo+qFDsunXMaKwqYPUVVmAU=; b=ieseSQ0FpEET72lS2ilJjxUY0CvcxXABWpEWOhKWAsZNY+3SAuezC3cFS3xFn7CG27 bEk4744msi+cQnljPA6LRlJ5ONgOnIDQahoWCQkzJ6ay4KnO1TVYp4y3Nsj4FRZMMM/g VRmQd5jvg13xVyVijz+8Wn5sDZQGXJTqKcPKZ1jupgm6iDJXVe0+Qs6EF35K8CKruWu/ uwQLqt4ZUWcQLB1N5hmUvO9L1mrmfNDC3WI5LaewdVkZzHA0yHuWCON5o/OM2nb15eOe uFGHZRQUER8DjFtXa0hngLYWohUvUMI66rwcoPA9JGlOMjIha+nFc95jVzqPt0rxIVsy kFjw==
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:date :message-id:subject:from:to:cc:content-type; bh=5VedZIO6KhWK0xZdN9bjdo+qFDsunXMaKwqYPUVVmAU=; b=ASUr4q8k7GbIAnbqYglQbsZuuh6gYtqDWyqsmKpHAp2jMfVNPWmdh8Qzg1YY6ODOMp aulShl7TSxTMe0KBFPaCAl9Q3Iq8dy9FasrDTrHiWlGbzHq42QimBnvJutkhxPo9k2UE C8aecpmbcZMwDYQZIGM/xlyAIgFw+GsEVHBi3PYIrEZzByyI4JqXehX6h3TPJzsyNBxr mJ3dnESWAvmz2T7yH8ciAjJa0POe/iwF4cZcx7DmAqCdJahLORmBcdNj9o3G7p/MiLOz U1KKxoOfxICgVGu5QkOCQCJJZ7E73R0b7DgoYXRdsxLmge1hRcyhHCKK/TelAT6+T8ko ay/w==
X-Gm-Message-State: ALoCoQlZlcuBuO7L0zII5o1e25fzwsXJWxIQUqdAQmM7A3Y+qfflJ50/wIVbZP5HlBpRu5NxrtUv3evdcHtnBuJCYrtm/3yrFrq4GcjEJGKJXlrwgHnKVfeONniKTTQg6X3fDfiyWhwDUAYW288NI9wVHITQDrlOwrg7XmzTeLn9PXEVJFk1FV3gKDJIhYUCsigqPywotNLn
MIME-Version: 1.0
X-Received: by 10.60.93.102 with SMTP id ct6mr33186601oeb.12.1392838558416; Wed, 19 Feb 2014 11:35:58 -0800 (PST)
Received: by 10.182.221.231 with HTTP; Wed, 19 Feb 2014 11:35:58 -0800 (PST)
In-Reply-To: <634914A010D0B943A035D226786325D4446C537686@EXVMBX020-12.exch020.serverdata.net>
References: <CAH9hSJbjQNKnZTJmBFtU8MgmnRTYjPopC4oP_78bWUGap-9CvA@mail.gmail.com> <634914A010D0B943A035D226786325D4446C537686@EXVMBX020-12.exch020.serverdata.net>
Date: Wed, 19 Feb 2014 11:35:58 -0800
Message-ID: <CAGzyod7JQZJpk_bWP0i9Pj9hOM6+om5RvXVE4j32c5hm2yVRGg@mail.gmail.com>
From: Roberto Peon <fenix@google.com>
To: Tobias Oberstein <tobias.oberstein@tavendo.de>
Content-Type: multipart/alternative; boundary="047d7b33c87e81154104f2c77f6b"
Archived-At: http://mailarchive.ietf.org/arch/msg/hybi/LeuMyWGby8NYW5TPwKCryvtrujE
Cc: "hybi@ietf.org" <hybi@ietf.org>, Yutaka Hirano <yhirano@google.com>, Peter Thorson <webmaster@zaphoyd.com>
Subject: Re: [hybi] Straw poll: Do you miss interjectable WebSocket level control 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: Wed, 19 Feb 2014 19:36:04 -0000

If they're not used, and implementors don't have plans to use them however,
they should be removed.
As we learned from HTTP/1.1, parts of the spec which are not exercised are
likely to cause problems later.
-=R


On Wed, Feb 19, 2014 at 3:45 AM, Tobias Oberstein <
tobias.oberstein@tavendo.de> wrote:

> >The second point I want to hear your opinion is: "do you miss
> interjectable WebSocket level control frame?"
>
> >Since RFC 6455's control frames can be interjected in the middle of a
> data message, to keep this as-is, we need to prevent FRAME boundary from
> being modified by multiplexing mechanism. Possible solutions are:
> >- encapsulate WebSocket frame
> >- prepare some mechanism (HTTP/2.0 frame type) in HTTP/2.0 layer similar
> to HTTP/2.0 PING frame that provides a box to which we can map WebSocket
> level control (PING/PONG/CLOSE/and other reserved control opcodes)
>
> >Please respond to this thread with your answer and rationale.
>
> I don't think this should be removed from RFC6455.
>
> The extension mechanisms of RFC6455 allow for flexible design of WebSocket
> extensions. Being able to interject existing and new control messages, and
> to interleave multiple data messages is part of that flexibility.
>
> Also: there seems to be an outburst of "lets remove X" from RFC6455
> initiatives lately.
>
> Not sure, but it's my impression that these are all related to the desire
> for some kind of WebSocket-over-HTTP2 protocol. And more so: to mold
> RFC6455 so that it "fits into HTTP2".
>
> I don't agree with that approach. I think HTTP2 should take WebSocket "as
> is", if it wants to act as a transport instead of attempting to redefine
> it. Or define it's own messaging (not bound by WS).
>
> /Tobias
>