Re: [hybi] updated Charter proposal (WebSocket)

Ian Hickson <ian@hixie.ch> Tue, 27 October 2009 01:24 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 0F2203A67A6 for <hybi@core3.amsl.com>; Mon, 26 Oct 2009 18:24:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.555
X-Spam-Level:
X-Spam-Status: No, score=-2.555 tagged_above=-999 required=5 tests=[AWL=0.044, 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 Nc9S10UPF4Ml for <hybi@core3.amsl.com>; Mon, 26 Oct 2009 18:24:50 -0700 (PDT)
Received: from looneymail-a2.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by core3.amsl.com (Postfix) with ESMTP id 4190B3A66B4 for <hybi@ietf.org>; Mon, 26 Oct 2009 18:24:18 -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 494CD16D3CC; Mon, 26 Oct 2009 18:24:32 -0700 (PDT)
Date: Tue, 27 Oct 2009 01:24:40 +0000
From: Ian Hickson <ian@hixie.ch>
To: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <C19DD55E-816F-4549-89B1-EEF7E50945F8@mnot.net>
Message-ID: <Pine.LNX.4.62.0910270115390.13521@hixie.dreamhostps.com>
References: <4ADEC7A0.7040307@ericsson.com> <4AE4CCBB.10001@webtide.com> <Pine.LNX.4.62.0910260006420.9145@hixie.dreamhostps.com> <4AE553A0.9030208@ericsson.com> <73F5E810-F40F-42B8-81A9-4AD1306E360F@apple.com> <4AE57B62.4030209@webtide.com> <Pine.LNX.4.62.0910270011060.13521@hixie.dreamhostps.com> <C19DD55E-816F-4549-89B1-EEF7E50945F8@mnot.net>
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] updated Charter proposal (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 01:24:51 -0000

On Tue, 27 Oct 2009, Mark Nottingham wrote:
> 
> There really isn't anything for proxy vendors to implement in 
> WebSockets, is there? Provided that they support CONNECT, of course.

Right; as written, WebSocket can be used with explicit SOCKS or HTTP 
proxies (in the latter case using CONNECT), and there's no built-in 
support for dedicated WebSocket proxies though man-in-the-middle proxies 
could be written to handle unencrypted WebSocket proxies if there was a 
need to do so (though I can't see what the point would be).


> To get proxy vendors on board, there will need to be overlay protocols 
> that allow them, for example, to multiplex many client connections into 
> one server connection, but that's far and above what WS does.
>
> Or do you intend to go in that direction?

Not currently. I don't see why we would.

I would expect server-side implementations to translate incoming WebSocket 
connections into appropriate internal connections; e.g. if Example Corp 
uses RPC extensively internally in their datacenters, a front-line server 
could receive a long-lived WebSocket connection (speaking that site's 
subprotocol) and translate it into short-lived RPC on the backend. 
However, that would be layered above WebSocket just like this kind of 
thing is layered above hanging-GET systems today.

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