Re: [hybi] comments on draft-ietf-hybi-websocket-requirements-00

"Anne van Kesteren" <annevk@opera.com> Fri, 09 July 2010 05:37 UTC

Return-Path: <annevk@opera.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 E9BF83A6813 for <hybi@core3.amsl.com>; Thu, 8 Jul 2010 22:37:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 bZ4pNzsn7T8O for <hybi@core3.amsl.com>; Thu, 8 Jul 2010 22:37:05 -0700 (PDT)
Received: from smtp.opera.com (smtp.opera.com [213.236.208.81]) by core3.amsl.com (Postfix) with ESMTP id ACCB03A67F2 for <hybi@ietf.org>; Thu, 8 Jul 2010 22:37:04 -0700 (PDT)
Received: from annevk-t60 (5355737B.cable.casema.nl [83.85.115.123]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o695aqB2008138 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 9 Jul 2010 05:37:08 GMT
Content-Type: text/plain; charset="utf-8"; format="flowed"; delsp="yes"
To: hybi@ietf.org, gabriel montenegro <g_e_montenegro@yahoo.com>
References: <615374.65181.qm@web82607.mail.mud.yahoo.com>
Date: Fri, 09 Jul 2010 07:36:57 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Anne van Kesteren <annevk@opera.com>
Organization: Opera Software ASA
Message-ID: <op.vfj9vfna64w2qv@annevk-t60>
In-Reply-To: <615374.65181.qm@web82607.mail.mud.yahoo.com>
User-Agent: Opera Mail/10.70 (Linux)
Subject: Re: [hybi] comments on draft-ietf-hybi-websocket-requirements-00
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: Fri, 09 Jul 2010 05:37:07 -0000

On Thu, 08 Jul 2010 20:20:15 +0200, gabriel montenegro  
<g_e_montenegro@yahoo.com> wrote:
>    identified both in the HyBi wg input document
>    [I-D.hixie-thewebsocketprotocol] and in the HyBi mailing list
>    dicussion.
>    REQ. 1:  The WebSocket Protocol MUST run directly on top of a
>       transport protocol (e.g.  TCP, UDP or SCTP, DCCP).
> ---
> No need to say anything, as the point is that whatever HTTP was
> running over should continue to be used after the upgrade. Typically
> this is TCP, yes. So how about rewording thus:
>    REQ. 1:  The WebSocket Protocol MUST run directly on top of
>       the transport over which the initial HTTP handshake was running
>       (typically TCP).

I think the requirement should be removed then. The requirements shouldn't  
constrain us to a HTTP handshake.


> ---
>    REQ. 2:  The WebSocket Protocol MUST be able to handle (send and
>       receive) messages on top of a TCP data stream connection.
> ---
> Suggest rewording:
>    REQ. 2:  The WebSocket Protocol MUST be able to handle (send and
>       receive) messages up to a maximum size (TBD) on top of the  
> transport
>       over which the initial HTTP handshake was running (typically TCP).

Why should we constrain size in the requirements?


>    REQ. 11:  The WebSocket Client MUST be able to request the server,
>       during the handshake, to use a specific WebSocket sub-protocol.
> ---
> Suggest rewording as follows:
>    REQ. 11:  During the handshake ,the WebSocket Client MUST be able
> to send one or more WebSocket sub-protocol proposals to the server
> so that the server can select one.,This results in the use of a specific
> WebSocket sub-protocol.

I don't think this is needed. It's also something that can easily be added  
later if application authors find a need for it.


-- 
Anne van Kesteren
http://annevankesteren.nl/