Re: [hybi] workability (or otherwise) of HTTP upgrade

Maciej Stachowiak <mjs@apple.com> Tue, 07 December 2010 01:29 UTC

Return-Path: <mjs@apple.com>
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 D6C2E28C0D0 for <hybi@core3.amsl.com>; Mon, 6 Dec 2010 17:29:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -107.09
X-Spam-Level:
X-Spam-Status: No, score=-107.09 tagged_above=-999 required=5 tests=[AWL=-0.491, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 ewfSOvqJL5mL for <hybi@core3.amsl.com>; Mon, 6 Dec 2010 17:29:09 -0800 (PST)
Received: from mail-out4.apple.com (mail-out.apple.com [17.254.13.23]) by core3.amsl.com (Postfix) with ESMTP id 3992528C0CF for <hybi@ietf.org>; Mon, 6 Dec 2010 17:29:09 -0800 (PST)
Received: from relay13.apple.com (relay13.apple.com [17.128.113.29]) by mail-out4.apple.com (Postfix) with ESMTP id DD933C20D9D1 for <hybi@ietf.org>; Mon, 6 Dec 2010 17:30:33 -0800 (PST)
X-AuditID: 1180711d-b7b82ae0000060a0-8c-4cfd8e39a12a
Received: from et.apple.com (et.apple.com [17.151.62.12]) by relay13.apple.com (Apple SCV relay) with SMTP id 64.0B.24736.93E8DFC4; Mon, 6 Dec 2010 17:30:33 -0800 (PST)
MIME-version: 1.0
Content-transfer-encoding: 7bit
Content-type: text/plain; charset="us-ascii"
Received: from [17.72.145.151] by et.apple.com (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPSA id <0LD10035AAUL8S30@et.apple.com> for hybi@ietf.org; Mon, 06 Dec 2010 17:30:33 -0800 (PST)
From: Maciej Stachowiak <mjs@apple.com>
In-reply-to: <BB947F6D-15AA-455D-B830-5E12C80C1ACD@mnot.net>
Date: Mon, 06 Dec 2010 17:30:20 -0800
Message-id: <81870DB1-B177-4253-8233-52C4168BE99D@apple.com>
References: <AANLkTin6=8_Bhn2YseoSHGh1OSkQzsYrTW=fMiPvYps1@mail.gmail.com> <20101126000352.ad396b9a.eric@bisonsystems.net> <AANLkTimzQyG4hugOvHqoNrBrZFA4fGbGXQ7MZ2i+68dO@mail.gmail.com> <BB947F6D-15AA-455D-B830-5E12C80C1ACD@mnot.net>
To: Mark Nottingham <mnot@mnot.net>
X-Mailer: Apple Mail (2.1082)
X-Brightmail-Tracker: AAAAAA==
Cc: hybi HTTP <hybi@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>
Subject: Re: [hybi] workability (or otherwise) of HTTP upgrade
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, 07 Dec 2010 01:29:13 -0000

On Dec 6, 2010, at 4:53 PM, Mark Nottingham wrote:

> I don't think that's the relevant aspect here. "Another port" could be port 80 or port 443 (nasty, and you wouldn't make it the default, but I think you see where I'm going). 
> 
> The question is why it's necessary to run both HTTP and WebSockets traffic over the *same* port simultaneously -- something that AFAICT is taken as axiomatic, and I'm really wondering why.

Web developers will likely want to operate both a WebSocket service and an HTTP service on the same server, since WebSocket services are likely to be most useful in combination with a Web application that makes use of them. At the same time, they will want their WebSocket traffic to go through firewalls properly. It would be a significant burden if a WebSocket service required a separate domain name, physical or virtual server, and possibly SSL cert.

Thus desire to have a single piece of server software that can dispatch connects to HTTP applications or Web applications as appropriate.

Regards,
Maciej

> 
> Cheers,
> 
> 
> On 26/11/2010, at 11:55 PM, Greg Wilkins wrote:
> 
>> The problem with another port, is that the success rate of  opening an
>> arbitrary port through firewalls is not that high.     Thus if
>> websocket was allocated it's own sockets, then there would still be
>> need for a websocket over 80 protocol (eg like there is BOSH for
>> XMPP).
> 
> --
> Mark Nottingham   http://www.mnot.net/
> 
> 
> 
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi