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

gabriel montenegro <g_e_montenegro@yahoo.com> Sat, 10 July 2010 01:35 UTC

Return-Path: <g_e_montenegro@yahoo.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 B599D3A6835 for <hybi@core3.amsl.com>; Fri, 9 Jul 2010 18:35:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[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 2WoMhPrC+LXw for <hybi@core3.amsl.com>; Fri, 9 Jul 2010 18:35:49 -0700 (PDT)
Received: from web82602.mail.mud.yahoo.com (web82602.mail.mud.yahoo.com [68.142.201.119]) by core3.amsl.com (Postfix) with SMTP id C0F443A67A4 for <hybi@ietf.org>; Fri, 9 Jul 2010 18:35:49 -0700 (PDT)
Received: (qmail 96430 invoked by uid 60001); 10 Jul 2010 01:35:52 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1278725752; bh=uLLduMe2xVXBd3SId+jJunva8LWbENHrZb2ypGC90YI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=hmG1y3H+qR5afHjgANDKY0MwqHLdLGRo+k6GSqMSoMsF4na8X9V496W9FepzXGcXU4ZHq62DGlAKsuC48VWAc84N6Yqrp4gHZiKe6+fWKt5TTtQCT+8mOXTiCrIHpe6jNAPA1mJsJepY002GTcxaSBLjauUJX74DE8gAPrf3+8I=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=d6LIWnJ8/C3aVKYvCtaxdHOk8+Ff0Ik8PzIPUIJ5NeOpvrQyYwXpmR+eekVGkxe4EJ19nXtyfzLwnae434PUGqfzQKKOdg9Ja3kwqe8fcChe70pi9sX+t689g0al1IiOGZ+MUUPxBh6KrrCRDOA+AXn1RFe64U1RObRHSv+hI20=;
Message-ID: <593626.96270.qm@web82602.mail.mud.yahoo.com>
X-YMail-OSG: M_WFnWMVM1k0krCXKUBQfXId1ktTJaPvU4v0ImK16BsYKX. _i89MRp5OUiiRhWWHdBzlaFxx6YMiITcTlKyZYVH.vKJ7t7r59KV6MJDuEh6 dZAALqunMWMHPhjvIWCZXb0im3GR5kSqL1UdnIl3kNk5OTmVuwDgu0CgVY5e 3q6_xAWSueKeqoDduUEaeoI.lfDrqTBpApKaZnkWdu9sDv3dKSkZk2fqlay5 5ztFP64wgSHsm2g1jEsLW2xy08XSD3ebSYep5UW4419IJ.gG02xBwouZsOgi HdgvhQUi1S0VDBDKHDKp4mE_bfGusE2jMCVdghbpgyv8f9yGUydagEw--
Received: from [131.107.0.78] by web82602.mail.mud.yahoo.com via HTTP; Fri, 09 Jul 2010 18:35:52 PDT
X-Mailer: YahooMailRC/397.8 YahooMailWebService/0.8.104.274457
References: <615374.65181.qm@web82607.mail.mud.yahoo.com> <op.vfj9vfna64w2qv@annevk-t60> <E7A4955B-393C-498F-A0F9-4519CF3685DC@brandedcode.com>
Date: Fri, 09 Jul 2010 18:35:52 -0700
From: gabriel montenegro <g_e_montenegro@yahoo.com>
To: Micheil Smith <micheil@brandedcode.com>, hybi@ietf.org
In-Reply-To: <E7A4955B-393C-498F-A0F9-4519CF3685DC@brandedcode.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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: Sat, 10 Jul 2010 01:35:50 -0000

Hi Micheil,

Please see inline...



----- Original Message ----
> I think there's only one change, in what I've read of this thread (since the 
> message
from Gabriel, 9th July 2010) that I could argue against as a protocol 
> implementor
and active maintainer of a near spec-compliant server.

The 
> only thing that does stand out is the message size constriants, which 
> would
not be a good idea. If a client sends a message that is too large, then 
> it is up to
the server-side developer to decide if they want to disconnect 
> the socket for that
reason.

[gm] Please see my response to Greg's message on this topic. 
One thing that comes to mind is what if it's a legitimate client trying to figure out
what the largest message to the server is. finding this out by facing a series of
socket disconnects can be tedious.

The second point I find interesting is the 
> sub-protocol negotiation point, this is
something that I think would possibly 
> be a good idea, but may add unneeded
complexity.

[gm] Is this because of the unfortunate use of the word "negotiation"?

The original wording in the draft alrady called for sub-protocol support thus:

   REQ. 11:  The WebSocket Client MUST be able to request the server,
      during the handshake, to use a specific WebSocket sub-protocol.

the proposed rewording just called out the fact that the client proposal 
might involve more than one sub-protocol, but the server would only choose
one. This is exactly how Upgrade works in HTTP1.1 already.

thanks,

Gabriel