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

"Thomson, Martin" <Martin.Thomson@commscope.com> Tue, 30 August 2011 23:18 UTC

Return-Path: <Martin.Thomson@commscope.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 DE69821F8C7E for <hybi@ietfa.amsl.com>; Tue, 30 Aug 2011 16:18:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.632
X-Spam-Level:
X-Spam-Status: No, score=-2.632 tagged_above=-999 required=5 tests=[AWL=-0.033, BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0JjE6I0WCmZy for <hybi@ietfa.amsl.com>; Tue, 30 Aug 2011 16:18:51 -0700 (PDT)
Received: from cdcsmgw02.commscope.com (fw.commscope.com [198.135.207.129]) by ietfa.amsl.com (Postfix) with ESMTP id 0E10D21F8C81 for <hybi@ietf.org>; Tue, 30 Aug 2011 16:18:50 -0700 (PDT)
X-AuditID: 0a0404e9-b7cd4ae000004b3f-e4-4e5d702e2807
Received: from ACDCE7HC1.commscope.com ( [10.86.20.102]) by cdcsmgw02.commscope.com (Symantec Brightmail Gateway) with SMTP id 5E.5D.19263.E207D5E4; Tue, 30 Aug 2011 18:20:14 -0500 (CDT)
Received: from SISPE7HC1.commscope.com (10.97.4.12) by ACDCE7HC1.commscope.com (10.86.20.102) with Microsoft SMTP Server (TLS) id 8.3.159.2; Tue, 30 Aug 2011 18:20:14 -0500
Received: from SISPE7MB1.commscope.com ([fe80::9d82:a492:85e3:a293]) by SISPE7HC1.commscope.com ([fe80::8a9:4724:f6bb:3cdf%10]) with mapi; Wed, 31 Aug 2011 07:20:11 +0800
From: "Thomson, Martin" <Martin.Thomson@commscope.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>, Takeshi Yoshino <tyoshino@google.com>
Date: Wed, 31 Aug 2011 07:20:30 +0800
Thread-Topic: [hybi] I-D Action: draft-ietf-hybi-thewebsocketprotocol-11.txt
Thread-Index: AcxnBFK/MXfz03/STtWBbJ1ZugrTRQAZqzoQ
Message-ID: <8B0A9FCBB9832F43971E38010638454F040F1C1332@SISPE7MB1.commscope.com>
References: <20110823102713.23958.79728.idtracker@ietfa.amsl.com> <4E538213.7020207@isode.com> <CAH9hSJaDcOEf0n59PSqfWJcEpLBKBGssX13FNViCUBFc2vxMXg@mail.gmail.com> <4E5CB8F1.4080301@isode.com>
In-Reply-To: <4E5CB8F1.4080301@isode.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] I-D Action: draft-ietf-hybi-thewebsocketprotocol-11.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, 30 Aug 2011 23:18:52 -0000

On 2011-08-30 at 20:18:25, Alexey Melnikov wrote:
> I think I got it right this time:
> 
>             NZDIGIT       =  "1" / "2" / "3" / "4" / "5" / "6" /
>                              "7" / "8" / "9"
>             version = DIGIT | (NZDIGIT DIGIT) |
>                       ("1" DIGIT DIGIT) | ("2" DIGIT DIGIT)
>                       ; Limited to 0-255 range

Not quite: '/' instead of '|'.

And you can do ("2" ((("0"/"1"/"2"/"3"/"4") DIGIT)/("5" ("0"/"1"/"2"/"3"/"4"/"5")))) if you want to be properly pedantic.

Either that, or simply:
version = 1*3DIGIT ; 0-255 only

--Martin