Re: [hybi] Extensibility mechanisms?

Ian Hickson <ian@hixie.ch> Sun, 18 April 2010 20:12 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 01FEC28C13C for <hybi@core3.amsl.com>; Sun, 18 Apr 2010 13:12:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.748
X-Spam-Level:
X-Spam-Status: No, score=-1.748 tagged_above=-999 required=5 tests=[AWL=0.851, 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 0AZm5Ruo6jyn for <hybi@core3.amsl.com>; Sun, 18 Apr 2010 13:12:32 -0700 (PDT)
Received: from looneymail-a1.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by core3.amsl.com (Postfix) with ESMTP id 8FC163A67A3 for <hybi@ietf.org>; Sun, 18 Apr 2010 13:12:24 -0700 (PDT)
Received: from ps20323.dreamhostps.com (ps20323.dreamhost.com [69.163.222.251]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by looneymail-a1.g.dreamhost.com (Postfix) with ESMTP id 8092415D8EE; Sun, 18 Apr 2010 13:12:15 -0700 (PDT)
Date: Sun, 18 Apr 2010 20:12:15 +0000
From: Ian Hickson <ian@hixie.ch>
To: Greg Wilkins <gregw@webtide.com>
In-Reply-To: <4BCB6641.70408@webtide.com>
Message-ID: <Pine.LNX.4.64.1004182010070.751@ps20323.dreamhostps.com>
References: <h2w5c902b9e1004152345j992b815bz5f8d38f06a19181a@mail.gmail.com> <Pine.LNX.4.64.1004160701250.751@ps20323.dreamhostps.com> <4BC860FD.8080007@webtide.com> <Pine.LNX.4.64.1004161952530.751@ps20323.dreamhostps.com> <4BC96A0D.4080904@webtide.com> <Pine.LNX.4.64.1004180246380.751@ps20323.dreamhostps.com> <4BCAB2C1.2000404@webtide.com> <B9DC25B0-CD21-44E7-BD9B-06D0C9440933@apple.com> <Pine.LNX.4.64.1004181812370.751@ps20323.dreamhostps.com> <4BCB6641.70408@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 <hybi@ietf.org>
Subject: Re: [hybi] Extensibility mechanisms?
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: Sun, 18 Apr 2010 20:12:34 -0000

On Sun, 18 Apr 2010, Greg Wilkins wrote:
> 
> You proposed 3 extension types.  I agree with 1 & 2,
> but #3 was:
> 
> > > 3. Opt-in experimental non-standard features implemented by Web browsers
> > >    and servers involved with the experiment.
> > >    This would use the same mechanism as #2, but would be limited to
> > >    experimental work, not widely deployed. For example, Firefox could
> > >    define a field that, when used by both client and server, switches the
> > >    connection from using the Web Socket framing to using an entirely
> > >    different framing based on HTTP chunking or BWTP or BEEP or something.
> 
> I believe that large scale deployments with complex infrastructure will 
> have significant problems if a HTTP connection that has been upgraded to 
> websocket is suddenly found to be carrying BEEP framing.

Why would a large scale deployments with complex infrastructure that can't 
handle BEEP framing opt-in to an experimental non-standard feature that 
uses BEEP framing?


> If you want to send BEEP over a HTTP connection, then you should upgrade 
> to BEEP, not websocket.

If the handshake involves an optional opt-in to a non-standard 
experimental feature, and you accept it, then you're not upgrading to Web 
Socket, you're upgrading to a non-standard protocol influenced by Web 
Sockets, as defined by the convention you and the client are using.

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