Re: [hybi] first draft of WS mux extension

"Len Holgate" <len.holgate@gmail.com> Mon, 24 October 2011 07:37 UTC

Return-Path: <len.holgate@gmail.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 723A221F8B98 for <hybi@ietfa.amsl.com>; Mon, 24 Oct 2011 00:37:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 nE2vNn-iF7g3 for <hybi@ietfa.amsl.com>; Mon, 24 Oct 2011 00:37:03 -0700 (PDT)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by ietfa.amsl.com (Postfix) with ESMTP id 66AC821F8B9C for <hybi@ietf.org>; Mon, 24 Oct 2011 00:37:03 -0700 (PDT)
Received: by wyh22 with SMTP id 22so6548969wyh.31 for <hybi@ietf.org>; Mon, 24 Oct 2011 00:37:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:references:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:in-reply-to :thread-index:x-mimeole; bh=CTLRQRG5uwS8svi5/1ujaDd9LVmmVhrvMglxbABfnP0=; b=G9RU0jpC/rYxyLtRl/AD6nZTKw986DeGN84NpcVW5WP+ze9u6i5rIiTlNF+SsW2P+m 56OBhluPJfLLIj6MarhpHKRUqhx+AuOwtutnglyUhlntBra2NIbAkGM5+UbIhtmbhkTy vpgbnVt/q56h2su65VfXYGAHS0JNF/CL0jkDQ=
Received: by 10.216.138.29 with SMTP id z29mr2961949wei.4.1319441822442; Mon, 24 Oct 2011 00:37:02 -0700 (PDT)
Received: from Venus (cpc8-glfd6-2-0-cust3.6-2.cable.virginmedia.com. [86.27.228.4]) by mx.google.com with ESMTPS id 11sm37322421wby.15.2011.10.24.00.36.59 (version=SSLv3 cipher=OTHER); Mon, 24 Oct 2011 00:37:00 -0700 (PDT)
From: Len Holgate <len.holgate@gmail.com>
To: 'John Tamplin' <jat@google.com>
References: <CABLsOLB3gqQgo0myNkHxGmvr5P55GeKqaUPnYP9RgnUsiVM++g@mail.gmail.com><CALiegfmc=01Uw0eLZES=WGtWVBKPjQLz3itiPL4TPVwy5mZFmQ@mail.gmail.com><CABLsOLDi-rXcDp9k_+bkMBrmswY-QbHkqXLKT+2wOQ7Y0ry0VQ@mail.gmail.com><CALiegf=Tcbys=ekrg3=BdzToy7uw08UmtpmWzZh1ikDxww_4qQ@mail.gmail.com><CALiegfnTiVLKh6Dvc_7U4oN2YOR5VgH7_YPc-O1WpygU8=gCbw@mail.gmail.com> <CABLsOLBH_b19CH8mfXF7mqE23YZ5skvprk77JD++dpW6DzfvJA@mail.gmail.com>
Date: Mon, 24 Oct 2011 08:37:05 +0100
Message-ID: <21c201cc921f$bbd76a00$0a00a8c0@Venus>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <CABLsOLBH_b19CH8mfXF7mqE23YZ5skvprk77JD++dpW6DzfvJA@mail.gmail.com>
Thread-Index: AcyQRCYzkXgqUGlpR9GdGj+9hN1aowB2waWA
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3664
Cc: 'Hybi' <hybi@ietf.org>
Subject: Re: [hybi] first draft of WS mux extension
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.12
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 Oct 2011 07:37:04 -0000

John,

This seems nice and clean and pretty easy to implement. 

Have you considered removing the "relaxation" of the fragmented frame rules
from the base protocol (ie the changes that permit the example shown in 7).

I would have thought that if all fragments on mux channels were sent as
complete messages you could include the actual message's fin bit in the
extension data of the mux frame and so not change the base protocol at all.
This would mean that mux could be implemented on existing websocket
implementations without changing the underlying implementation at all. The
layer "above" could deal with all aspects of the muxing.

Len 

> -----Original Message-----
> From: hybi-bounces@ietf.org [mailto:hybi-bounces@ietf.org] On 
> Behalf Of John Tamplin
> Sent: 21 October 2011 23:52
> To: Iñaki Baz Castillo
> Cc: Hybi
> Subject: Re: [hybi] first draft of WS mux extension
> 
> On Fri, Oct 21, 2011 at 6:33 PM, Iñaki Baz Castillo 
> <ibc@aliax.net> wrote:
> 
> 
> 	2011/10/22 Iñaki Baz Castillo <ibc@aliax.net>:
> 	
> 	> I strongly propose to rename it to "mux".
> 	
> 	
> 	I mean right now, without waiting for it to be an approved RFC.
> 
> 
> Until there is feedback that others besides Google are 
> interested in implementing it, it seems presumptuous to take 
> the name "mux".
> 
> 
> I am aware of the article you reference, but since 
> non-private use names have to be registered before use, it 
> isn't clear the alternative is any better.  WS has already 
> shown that you can have early deployments of a work in 
> progress, make breaking changes, and have implementations 
> adapt to the new version fairly quickly. So, I would much 
> rather have some implementations use x-google-mux first and 
> have to change them later after it is standardized, than to 
> use the name "mux" now and then find out we really want a 
> different mux protocol for that name.  There are only a few 
> browsers, so if they all update the servers will have no 
> choice but to update to match.
> 
> -- 
> John A. Tamplin
> Software Engineer (GWT), Google
> 
>