Re: [hybi] Multiplexing in WebSocket

Ian Hickson <ian@hixie.ch> Tue, 27 October 2009 18:39 UTC

Return-Path: <ian@hixie.ch>
X-Original-To: hybi@core3.amsl.com
Delivered-To: hybi@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6F9C43A63EC for <hybi@core3.amsl.com>; Tue, 27 Oct 2009 11:39:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.559
X-Spam-Level:
X-Spam-Status: No, score=-2.559 tagged_above=-999 required=5 tests=[AWL=0.040, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cHZKSn8BF1UZ for <hybi@core3.amsl.com>; Tue, 27 Oct 2009 11:39:45 -0700 (PDT)
Received: from looneymail-a2.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by core3.amsl.com (Postfix) with ESMTP id 504413A687E for <hybi@ietf.org>; Tue, 27 Oct 2009 11:39:28 -0700 (PDT)
Received: from hixie.dreamhostps.com (hixie.dreamhost.com [208.113.210.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by looneymail-a2.g.dreamhost.com (Postfix) with ESMTP id A10B916D43B; Tue, 27 Oct 2009 11:39:42 -0700 (PDT)
Date: Tue, 27 Oct 2009 18:39:44 +0000
From: Ian Hickson <ian@hixie.ch>
To: Greg Wilkins <gregw@webtide.com>
In-Reply-To: <4AE6CF7A.6050400@webtide.com>
Message-ID: <Pine.LNX.4.62.0910271837070.25616@hixie.dreamhostps.com>
References: <4ACE50A2.5070404@ericsson.com> <3a880e2c0910081600v3607665dp193f6df499706810@mail.gmail.com> <4ACF4055.6080302@ericsson.com> <Pine.LNX.4.62.0910092116010.21884@hixie.dreamhostps.com> <4AD2E353.8070609@webtide.com> <4AD2F43D.6030202@ninebynine.org> <4AD39A64.4080405@webtide.com> <Pine.LNX.4.62.0910132335390.25383@hixie.dreamhostps.com> <4AD53DCA.6050304@webtide.com> <Pine.LNX.4.62.0910170203460.9145@hixie.dreamhostps.com> <4ADA7FD4.9010406@webtide.com> <4ADB6F0B.4000004@gmail.com> <Pine.LNX.4.62.0910221120380.9145@hixie.dreamhostps.com> <4AE08907.7080402@webtide.com> <Pine.LNX.4.62.0910230348470.9145@hixie.dreamhostps.com> <4AE1E659.5050507@webtide.com> <Pine.LNX.4.62.0910232154470.13521@hixie.dreamhostps.com> <4AE23D7A.2060009@webtide.com> <Pine.LNX.4.62.0910240926500.9145@hixie.dreamhostps.com> <4AE4119A.7040803@webtide.com> <Pine.LNX.4.62.0910270130580.9145@hixie.dreamhostps.com> <4AE6CF7A.6050400@webtide.com>
Content-Language: en-GB-hixie
Content-Style-Type: text/css
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
Cc: hybi@ietf.org
Subject: Re: [hybi] Multiplexing in WebSocket
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 27 Oct 2009 18:39:46 -0000

On Tue, 27 Oct 2009, Greg Wilkins wrote:
> Ian Hickson wrote:
> >> I think the IETF should be considering a bidirectional solution for 
> >> all web clients - not just for HTML5 JS clients
> > 
> > What's wrong with TCP, BEEP, or Jabber?
> 
> Once upon a time there was the internet and IP was God (even though Al 
> Gore invented the internet and he really should have been God).
> 
> But then somebody invented the Web (was it Bill Gates?) and now port 80 
> is God.
> 
> The Web runs on top of the Internet, but restricts all the wonderful 
> features of IP to a one way port 80.
> 
> TCP, BEEP, or Jabber are really great Internet protocols, but they don't 
> generally work on the web.  Jabber (aka XMPP) has to fall back to BOSH 
> on HTTP in order to span the web.

I'm not really sure what you mean by "the web" here.

If your requirement is for a protocol that can tunnel other bydirectional 
protocols over HTTP, then WebSocket isn't it. We should decouple the 
requirements for WebSockets (which were listed in one of the first 
messages to this list) from the requirements for a tunnel-over-HTTP 
protocol, because they aren't compatible requirements.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'