Re: [hybi] requirement draft as wg item

Scott Ferguson <ferg@caucho.com> Thu, 13 May 2010 16:03 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 410B33A6B2A for <hybi@core3.amsl.com>; Thu, 13 May 2010 09:03:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.001
X-Spam-Level:
X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[BAYES_50=0.001]
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 be7HDZQxZDrM for <hybi@core3.amsl.com>; Thu, 13 May 2010 09:03:39 -0700 (PDT)
Received: from smtp111.biz.mail.mud.yahoo.com (smtp111.biz.mail.mud.yahoo.com [209.191.68.76]) by core3.amsl.com (Postfix) with SMTP id 50D9B3A67A6 for <hybi@ietf.org>; Thu, 13 May 2010 09:03:39 -0700 (PDT)
Received: (qmail 11367 invoked from network); 13 May 2010 16:03:21 -0000
Received: from [192.168.1.10] (ferg@66.92.8.203 with plain) by smtp111.biz.mail.mud.yahoo.com with SMTP; 13 May 2010 09:03:21 -0700 PDT
X-Yahoo-SMTP: L1_TBRiswBB5.MuzAo8Yf89wczFo0A2C
X-YMail-OSG: mhYe_i0VM1lJt2Hk_EeUrPsb4JvTwaKYHDgv.E9HUYeb356pChZmF1Fvjg1EDHmD2Q6uKBQe8iarpzwoUKpbUA3SE1aUlx5l3MWJSgFu3CnRclSTFOVY0SfvrXS9fjOQLqlxhmiWVs9x8BzpdjYwUgYKbWrvgXkJjTWUFmzrdsZnWXlO6yn7wsUfg4ytZzuj_pYgZ.b9yb4ZjU4qDW.7Q8Cbq05_k67KU8c9KmnXmT7QMlNazzlUvRQdDoLxnjzuve7_yNjPi4cBPv5rlrgHglRosGt8DAR7a6EAWwAVZec5y8K12VVwWsGNWPteyLKbZTUBVVH_rnweqt8p8IZJ
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4BEC22C5.4020409@caucho.com>
Date: Thu, 13 May 2010 09:03:17 -0700
From: Scott Ferguson <ferg@caucho.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Greg Wilkins <gregw@webtide.com>
References: <4BE972C5.4060006@ericsson.com> <AANLkTil_SAqnOPlL4c1TzAS5NSnQe0AJq91tGuWeWXJA@mail.gmail.com> <4BEBFC26.6060203@webtide.com>
In-Reply-To: <4BEBFC26.6060203@webtide.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] requirement draft as wg item
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, 13 May 2010 16:03:40 -0000

Greg Wilkins wrote:
> Mike Belshe wrote:
>   
>> * Requirement 11 refers to a "sub-protocol", but "sub-protocol" is not
>> defined. I am not meaning to be difficult, but I am not sure what does
>> or does not qualify as as sub-protocol.
>>     
>
> I agree and I also don't yet understand exactly what we all mean by
> subprotocol
>
> I'm not even sure there is a requirement for subprotocols.  It might
> just be a nice to have feature of a particular solution.
>   
It allows validation for applications, just like normal version numbers.

If you have an iPhone client talking quake/1.0 packets to a server, but 
the server is actually using an incompatible quake/2.0 packet syntax, 
it's useful to address that issue upfront as part of the handshake. 
(Plus allowing easy rejection of a quake/1.0 client trying to talk with 
an xmpp/2.0 server with a reasonable error message.)

You could always force the application to validate its own version in a 
separate handshake, but it's a universal need so has value here.

The "sub-protocol" really means the full protocol stack. "sub-" just 
meaning it's built on top of WebSockets, i.e. that the full protocol is 
one of the possible protocols that could be designed on top of WebSockets.

-- Scott
>
> regards
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
>
>
>
>