Re: [hybi] I-D Action:draft-ietf-hybi-thewebsocketprotocol-01.txt

Scott Ferguson <ferg@caucho.com> Thu, 02 September 2010 18:09 UTC

Return-Path: <ferg@caucho.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 CC2D83A6A31 for <hybi@core3.amsl.com>; Thu, 2 Sep 2010 11:09:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.53
X-Spam-Level:
X-Spam-Status: No, score=-2.53 tagged_above=-999 required=5 tests=[AWL=0.069, 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 c8I97lAUCuMS for <hybi@core3.amsl.com>; Thu, 2 Sep 2010 11:09:49 -0700 (PDT)
Received: from smtp112.biz.mail.mud.yahoo.com (smtp112.biz.mail.mud.yahoo.com [209.191.68.77]) by core3.amsl.com (Postfix) with SMTP id 3BC1D3A6A94 for <hybi@ietf.org>; Thu, 2 Sep 2010 10:55:31 -0700 (PDT)
Received: (qmail 38536 invoked from network); 2 Sep 2010 17:55:58 -0000
Received: from [192.168.1.11] (ferg@66.92.8.203 with plain) by smtp112.biz.mail.mud.yahoo.com with SMTP; 02 Sep 2010 10:55:58 -0700 PDT
X-Yahoo-SMTP: L1_TBRiswBB5.MuzAo8Yf89wczFo0A2C
X-YMail-OSG: m3ynzUIVM1ksRkrUGMr0a9P5NNhkTuVOTOhBWmINeUsp4FR VqnubcTU3R2abF_cRwLd2DMTDH4r.SCK7TbLeTswhoOiVy6tKtjLeMLXOtWQ bxvFCvC7M.KlvbJIEF3pUbB8k9shLehoZx.McDufUQt92Uu3JnpmWXQQxM24 WiscI0VAVMs95D_Db.h80wKUvh6kdxDh5yEZ.CASb4KJDUudr6PZMdHiHeEV UrJCygcsWXBwbf2OoetJvWtwukOX7rkwKGmgMAEKGzk9fcPaUwt2tikOiv.9 xn4EmearH2C2O5E1Odo3muWArxZQplYrKphFHWOVW9Lhg_rLy4vI-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4C7FE521.1070001@caucho.com>
Date: Thu, 02 Sep 2010 10:55:45 -0700
From: Scott Ferguson <ferg@caucho.com>
User-Agent: Thunderbird 2.0.0.24 (X11/20100411)
MIME-Version: 1.0
To: Gabriel Montenegro <gmonte@microsoft.com>
References: <20100901224502.0519B3A687C@core3.amsl.com> <4C7F8EE7.1040106@opera.com> <4C7F92D1.20106@gmx.de> <CA566BAEAD6B3F4E8B5C5C4F61710C110FAFE4D7@TK5EX14MBXW605.wingroup.windeploy.ntdev.microsoft.com>
In-Reply-To: <CA566BAEAD6B3F4E8B5C5C4F61710C110FAFE4D7@TK5EX14MBXW605.wingroup.windeploy.ntdev.microsoft.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] I-D Action:draft-ietf-hybi-thewebsocketprotocol-01.txt
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: Thu, 02 Sep 2010 18:09:51 -0000

Gabriel Montenegro wrote:
> The real issue here is that MUST is the right keyword if something is required for interoperability. A SHOULD means you are recommended to do a certain thing, but you may depart from that recommendation if you know better or have a good reason. MAY is for optional stuff. 
>
> My take on it is that the basic framing is absolutely a MUST. Optional stuff like multiplexing or compression are MAYs (when and if we get to them). Fragmentation support sounds like a SHOULD.
>   

Fragmentation is a MUST, based on past experience with non-browser 
clients and HTTP.

Since a non-browser client might only send small queries, but receive 
large data, a lazy implementation with would skip fragmenting support 
entirely (because they never need to send fragments) if it's SHOULD, 
because it's slightly easier for them to force the server to buffer all 
data, which defeats the whole point of fragmenting. Since the receiving 
code for fragmentation is actually small, allowing that kind of laziness 
is harmful.

There's no requirement that anyone send fragments, of course, but they 
MUST be able to receive fragmented data, or server writers will go insane.

-- Scott
>   
>> -----Original Message-----
>> From: hybi-bounces@ietf.org [mailto:hybi-bounces@ietf.org] On Behalf Of
>> Julian Reschke
>> Sent: Thursday, September 02, 2010 5:05 AM
>> To: James Graham
>> Cc: hybi@ietf.org
>> Subject: Re: [hybi] I-D Action:draft-ietf-hybi-thewebsocketprotocol-01.txt
>>
>> On 02.09.2010 13:47, James Graham wrote:
>>     
>>> On 09/02/2010 12:45 AM, Internet-Drafts@ietf.org wrote:
>>>
>>>       
>>>> A URL for this Internet-Draft is:
>>>> http://www.ietf.org/internet-drafts/draft-ietf-hybi-thewebsocketproto
>>>> col-01.txt
>>>>
>>>>         
>>> A few initial comments:
>>>
>>> The framing sections seem to have a lot of SHOULDs. This is worrying
>>> as SHOULD-level conditions can't really be tested (it is not an error
>>> to violate them) and can be a source of interoperability problems. I
>>> would
>>>       
>>  > ...
>>
>> Nothing stops you from testing them; you just need to either state that you
>> reported SHOULD failures as violations, or need to report different compliance
>> levels.
>>
>> Best regards, Julian
>> _______________________________________________
>> hybi mailing list
>> hybi@ietf.org
>> https://www.ietf.org/mailman/listinfo/hybi
>>     
>
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
>
>
>
>