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

Dirkjan Ochtman <dirkjan@ochtman.nl> Thu, 09 June 2011 10:13 UTC

Return-Path: <djc.ochtman@gmail.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 960DF11E80C4 for <hybi@ietfa.amsl.com>; Thu, 9 Jun 2011 03:13:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.827
X-Spam-Level:
X-Spam-Status: No, score=-2.827 tagged_above=-999 required=5 tests=[AWL=0.150, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
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 MR0YuZ51suIR for <hybi@ietfa.amsl.com>; Thu, 9 Jun 2011 03:13:53 -0700 (PDT)
Received: from mail-qy0-f179.google.com (mail-qy0-f179.google.com [209.85.216.179]) by ietfa.amsl.com (Postfix) with ESMTP id D52BF11E80C3 for <hybi@ietf.org>; Thu, 9 Jun 2011 03:13:51 -0700 (PDT)
Received: by qyk7 with SMTP id 7so834396qyk.10 for <hybi@ietf.org>; Thu, 09 Jun 2011 03:13:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=nAsxb27bL+a7i3i7Dx28A2srCJw5dLPtUDge5oCnQvI=; b=v7N+fjilWWDHW9DPaOk1og/yTv+ogZNdZny8gOg/5RD0Csm5NHeDJmjlMvc7G2Ds4/ VUBkq7Hue5aygd39IfFRyZ74nd8z4jtPN/WMGtvZdgZ45LYwfEeMJkOD9kuc0XLB6zg1 XwtC+RjKgva3KGNouc3cKsrWowT3QMqyLi7S8=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=IDc2Xl/3cevx/mgvfpjX3p0ZSj5Dt6t7e1ZO+Gsh5MHhyDseFMbmGKVQsymcGHN9Ff FeTa3umZhD3Cyy+yPu/KaEymGtVGMibWFIiuL1mUpRA+NpnPntnhT5U50zXO083LlnlD HhmElTPfdsvzOpqfnBNy8C2UsqEyJYc/4vxH4=
Received: by 10.229.34.130 with SMTP id l2mr317529qcd.293.1307614414113; Thu, 09 Jun 2011 03:13:34 -0700 (PDT)
MIME-Version: 1.0
Sender: djc.ochtman@gmail.com
Received: by 10.229.187.145 with HTTP; Thu, 9 Jun 2011 03:13:14 -0700 (PDT)
In-Reply-To: <4DF0923D.3070005@jp.sony.com>
References: <20110608173012.14596.50398.idtracker@ietfa.amsl.com> <4DF07883.4070609@warmcat.com> <BANLkTimQn-6AbRrk_2FWOZ7WS1fSRu=9Ag@mail.gmail.com> <4DF0923D.3070005@jp.sony.com>
From: Dirkjan Ochtman <dirkjan@ochtman.nl>
Date: Thu, 9 Jun 2011 12:13:14 +0200
X-Google-Sender-Auth: Vr8499_l6win2z_7972GjRQkWCg
Message-ID: <BANLkTinvJBEbsnFJdQQzudx3T1vx0nCatg@mail.gmail.com>
To: Norio Kobota <norio.kobota@jp.sony.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: hybi@ietf.org
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: Thu, 09 Jun 2011 10:13:54 -0000

On Thu, Jun 9, 2011 at 11:28, Norio Kobota <norio.kobota@jp.sony.com> wrote:
>> - The extended payload length may now use 64 bits (instead of just 63).
>
> The figure at section 4.2 shows Extended payload length(16/63).
> But in text, payload length is 7+64 bits.(MSB==0)
>
> Am I correct though I understood as follows?
>
> 1.extended payload length 'field' has 64 bit length.
> 2.but most significant bit must be 0.
> 3.so, the max size of extended payload length is equal to
>  INT64_MAX(0x7fffffffffffffffLL)

Yes, I got my reading wrong. The new draft removes one mention of the
effective 63-bits limit of the length field, but the mandate for
zeroing the most significant bit is still there.

Cheers,

Dirkjan