Re: [hybi] I-D ACTION:draft-ietf-hybi-thewebsocketprotocol-08.txt

Takeshi Yoshino <tyoshino@google.com> Tue, 14 June 2011 06:13 UTC

Return-Path: <tyoshino@google.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C38CC1F0C41 for <hybi@ietfa.amsl.com>; Mon, 13 Jun 2011 23:13:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.676
X-Spam-Level:
X-Spam-Status: No, score=-105.676 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t2--XTnm6xRN for <hybi@ietfa.amsl.com>; Mon, 13 Jun 2011 23:13:04 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [74.125.121.67]) by ietfa.amsl.com (Postfix) with ESMTP id 858E31F0C35 for <hybi@ietf.org>; Mon, 13 Jun 2011 23:13:04 -0700 (PDT)
Received: from kpbe12.cbf.corp.google.com (kpbe12.cbf.corp.google.com [172.25.105.76]) by smtp-out.google.com with ESMTP id p5E6D2SE014631 for <hybi@ietf.org>; Mon, 13 Jun 2011 23:13:02 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1308031982; bh=JHo5+bRiD3LvCd/M0OMVwVlojk8=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=CGNSTK9B/NKdZ03jGGkyA/iROLQ6+j/JCYPw3ITNSzFwE2MZWx3FG7Hhn/2T69YpY 48knzZwthX5aYJqMhqHHw==
Received: from yxs7 (yxs7.prod.google.com [10.190.5.135]) by kpbe12.cbf.corp.google.com with ESMTP id p5E6D0En027204 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for <hybi@ietf.org>; Mon, 13 Jun 2011 23:13:00 -0700
Received: by yxs7 with SMTP id 7so944977yxs.32 for <hybi@ietf.org>; Mon, 13 Jun 2011 23:13:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=+7WyIq6eulv2g877BVrHx8HBYqHak6TwB5B+0WXWPDk=; b=lMCI1MPlPPJGcpqkKD2m8g220UhWRIRDJEAUMa/eBkTiC7+c/vVp5gvgYHiXe7s7W8 RGE8nLkFOhxf5vLzp4yA==
DomainKey-Signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=R6mXDth5BlZV0oFYKI1/ARDjP1VYEvEBhIEj2FSodRJ6JqKVhO/vX5W7walZ8XTM5D FRnczcSI8pPS+5m+1gdQ==
Received: by 10.151.130.2 with SMTP id h2mr7323626ybn.171.1308031980151; Mon, 13 Jun 2011 23:13:00 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.150.50.13 with HTTP; Mon, 13 Jun 2011 23:12:40 -0700 (PDT)
In-Reply-To: <BANLkTi=hkSSQZ-QRpdY_VABaMAPozsv7fZRt7eARnZgXEzngUA@mail.gmail.com>
References: <20110608173012.14596.50398.idtracker@ietfa.amsl.com> <BANLkTi=mEDLtuPJsc6eJThr-QUuKSFH-dw@mail.gmail.com> <BANLkTikmnMZ+e0Pv6L5F3aEj0u0mXC6FOX+ARaS0eoGitJ3WqQ@mail.gmail.com> <BANLkTimMA73hi-gAUtAyfJ+8ky0Onk+5Dg@mail.gmail.com> <BANLkTi=hkSSQZ-QRpdY_VABaMAPozsv7fZRt7eARnZgXEzngUA@mail.gmail.com>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Tue, 14 Jun 2011 15:12:40 +0900
Message-ID: <BANLkTikiGZtH0FDKO3SmoapghLh1Nbhbt0XUT6OzRo2SK-C07A@mail.gmail.com>
To: Iñaki Baz Castillo <ibc@aliax.net>
Content-Type: multipart/alternative; boundary="00504502b2d18822aa04a5a5ed36"
X-System-Of-Record: true
Cc: "hybi@ietf.org" <hybi@ietf.org>, Greg Wilkins <gregw@intalio.com>
Subject: Re: [hybi] I-D ACTION:draft-ietf-hybi-thewebsocketprotocol-08.txt
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Tue, 14 Jun 2011 06:13:05 -0000

Sorry, this just has been addressed by -09.

Takeshi


On Tue, Jun 14, 2011 at 15:02, Takeshi Yoshino <tyoshino@google.com> wrote:

> On Sat, Jun 11, 2011 at 14:49, Iñaki Baz Castillo <ibc@aliax.net> wrote:
>
>> Page 12 says:
>>
>>   if Example Corporation were to create a Chat subprotocol to
>>   be implemented by many servers around the Web, they could name it
>>   "chat.example.com".  If the Example Organization called their
>>   competing subprotocol "example.org's chat protocol", then the two
>>   subprotocols could be implemented by servers simultaneously
>>
>> Of course "example.org's chat protocol" is not a valid token according
>> to RFC 2616 grammar:
>>
>>  CHAR           = <any US-ASCII character (octets 0 - 127)>
>>  token            = 1*<any CHAR except CTLs or separators>
>>
>>
> I think this paragraph should be fixed by adding 'by using "
> chat.example.org" for their subprotocol name' right after "example.org's
> chat protocol". Maybe, that's what the editor originally wanted this text to
> mean.
>
>
>> So there are two options:
>>
>> 1) Make Sec-WebSocket-Protocol grammar 1#token (as defined now). In
>> this case protocol values MUST be token (no quoted strings, neither
>> separators). Then fix example in page 12.
>>
>
> I prefer 1) too.
>
>
>> 2) Make Sec-WebSocket-Protocol grammar as follows:   1#( quoted-string |
>> token )
>> In this way both examples in page 12 are valid.
>>
>> I strongly prefer option 1 (I don't consider that spaces or UTF'8
>> multibyte symbols are needed for naming a protocol).
>
>
>