Re: [hybi] Proposed way forward for WebSockets

Alexey Melnikov <alexey.melnikov@isode.com> Wed, 28 July 2010 12:52 UTC

Return-Path: <alexey.melnikov@isode.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 BC5BF28C169 for <hybi@core3.amsl.com>; Wed, 28 Jul 2010 05:52:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.648
X-Spam-Level:
X-Spam-Status: No, score=-2.648 tagged_above=-999 required=5 tests=[AWL=-0.049, 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 9rZIl9H1zOjh for <hybi@core3.amsl.com>; Wed, 28 Jul 2010 05:52:36 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id D3C4928C0E8 for <hybi@ietf.org>; Wed, 28 Jul 2010 05:52:35 -0700 (PDT)
Received: from [192.168.49.3] ((unknown) [130.129.80.30]) by rufus.isode.com (submission channel) via TCP with ESMTPA id <TFAoKQADG3HW@rufus.isode.com>; Wed, 28 Jul 2010 13:52:57 +0100
X-SMTP-Protocol-Errors: NORDNS
Message-ID: <4C50282B.2090809@isode.com>
Date: Wed, 28 Jul 2010 14:52:59 +0200
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090303 SeaMonkey/1.1.15
To: Jamie Lokier <jamie@shareable.org>
References: <ECF0E97F-1DA2-4662-BA48-F68B65AA8179@apple.com> <4C4D66AF.9030905@opera.com> <Pine.LNX.4.64.1007270030120.24444@ps20323.dreamhostps.com> <20100727160806.GG23142@shareable.org>
In-Reply-To: <20100727160806.GG23142@shareable.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: hybi@ietf.org
Subject: Re: [hybi] Proposed way forward for WebSockets
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: Wed, 28 Jul 2010 12:52:38 -0000

Jamie Lokier wrote:
 [...]
> Critical issue:
>
> After the first deployment wave, how can client WebSocket
> implementations request features without breaking the existing
> services that *reject* and *close* connections with additional state
> in the headers?
>
> The subprotocol field (as is) cannot be used for this by a WebSocket
> API implementation because it is not allowed to change what the script
> provides.
>
> Imho a robust, extensible negotiation slot must be present early for
> this plan to work.  Assuming this is agreeable as a requirement we can
> work on making it simple, robust, and secure.
>   
+1.