Re: [hybi] [Technical Errata Reported] RFC6455 (3912)

Takeshi Yoshino <tyoshino@google.com> Thu, 06 March 2014 08:23 UTC

Return-Path: <tyoshino@google.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C0C051A015F for <hybi@ietfa.amsl.com>; Thu, 6 Mar 2014 00:23:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.925
X-Spam-Level:
X-Spam-Status: No, score=-1.925 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.547, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WlIGKA3M1UQ1 for <hybi@ietfa.amsl.com>; Thu, 6 Mar 2014 00:23:22 -0800 (PST)
Received: from mail-wg0-x22d.google.com (mail-wg0-x22d.google.com [IPv6:2a00:1450:400c:c00::22d]) by ietfa.amsl.com (Postfix) with ESMTP id 40A011A0020 for <hybi@ietf.org>; Thu, 6 Mar 2014 00:23:22 -0800 (PST)
Received: by mail-wg0-f45.google.com with SMTP id l18so2189206wgh.16 for <hybi@ietf.org>; Thu, 06 Mar 2014 00:23:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=S/kfnJvaM/6KaV9WYYgKIevcsApXq4lWPawvQheIWsw=; b=pfu+G6N1bCATB7xSpm/0ph3C28UjWHJwzatLGThjyBE9uuK61QB6zwNVILh79DhMti EM1Joqy0eVSTI/lousJyy0Vd4/yl02pyZ8dw5gvi3GkEw7xvLyAI6gkHyqYC8hzVf6rm X46SzsVozxj7S5lFETjHv218wbsDWZY1QSV/21QSlmqvLzvXRygXSuM3brn5Cm5lkarH /XWeEVjve0OWKkbQXUAdlXl0sFvA8LuhePXd6QSigKByfEUeR5c3Nxgftu7YvMBvl0+l hB+0TlKkKlfFwf0fRyb2rOM/h0hefp7LuH0SggReTPogxGTBVBa8v/6wTdyEkl+Dbvyw gkJw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=S/kfnJvaM/6KaV9WYYgKIevcsApXq4lWPawvQheIWsw=; b=ku9h+/WpEJhfNLhejMoOwXMzwP07AX5TZ4SJYnMxfIJorQGAmu4Fsl1XFWXfe/WHav ePnPEzRkX+/jOSEANqVIwqCDW9/TujvVk6kJUOAhMEtvIvKX/teeVMMzUq3iRpROgZI5 9TVRTsTCdRke5Xghc9zmlYzYFI1oq7ECnB/XYvrF9jJInFUEkh+vUXSJ21CMCb9LoVxl pzAnvmlYHDHaPTPrVfWMTwTSn444y6YPSseaLCSl6vJN5NE4TFiN52yl2xVGj0SOlhdl az1GCnpASZe/njFzkl+NMnrY+BZ4tPLaMRZDdYEQWV6GirUKyRxtzliFt1CB90nP6qjZ uG5w==
X-Gm-Message-State: ALoCoQmkVILrMUIJwmsj3BaPGi9LjLpiffD6wEg8vTuTyDVSknWBWmkM+osCrXze/PILfqITEQ3D0wqErcSgwVL+LjuEnOwOFmrwCQYPVJ2vDBIkphWkHU13Cmy5TD8np1bnd8qfiYozr50spjx29h4xR3rpCMBMJw7S/qTrJxwSIW4bkNQi9/x2XFVrTaEg4ATrbZLotXTt
X-Received: by 10.194.71.47 with SMTP id r15mr7642531wju.19.1394094197770; Thu, 06 Mar 2014 00:23:17 -0800 (PST)
MIME-Version: 1.0
Received: by 10.194.8.231 with HTTP; Thu, 6 Mar 2014 00:22:57 -0800 (PST)
In-Reply-To: <CALaySJLmFdc2ac6v+ZmhanQt2tXLSWRyDnMyLgn5h-zjN9f+_w@mail.gmail.com>
References: <20140305121217.A24757FC38D@rfc-editor.org> <godeh95aaoediorgbjlikqmt74k40cfcdn@hive.bjoern.hoehrmann.de> <CALaySJLmFdc2ac6v+ZmhanQt2tXLSWRyDnMyLgn5h-zjN9f+_w@mail.gmail.com>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Thu, 06 Mar 2014 17:22:57 +0900
Message-ID: <CAH9hSJbfYBjFr9ZCFXdPO5M0W5Ka062_wgWNPKHkA7VTqCAikw@mail.gmail.com>
To: Barry Leiba <barryleiba@computer.org>
Content-Type: multipart/alternative; boundary="047d7bfd01727123a804f3ebd92e"
Archived-At: http://mailarchive.ietf.org/arch/msg/hybi/6s1xcmZ9NZWXUsEBz58e6wXM45A
Cc: "hybi@ietf.org" <hybi@ietf.org>, Pete Resnick <presnick@qti.qualcomm.com>, Bjoern Hoehrmann <derhoermi@gmx.net>, "ifette+ietf@google.com" <ifette+ietf@google.com>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, mattias.ekendahl@b-reel.com, RFC Errata System <rfc-editor@rfc-editor.org>
Subject: Re: [hybi] [Technical Errata Reported] RFC6455 (3912)
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.15
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, 06 Mar 2014 08:23:25 -0000

On Wed, Mar 5, 2014 at 11:48 PM, Barry Leiba <barryleiba@computer.org>wrote:

> That sounds like "Reject" to me, then, yes?
>
> Barry
>
> On Wed, Mar 5, 2014 at 6:45 AM, Bjoern Hoehrmann <derhoermi@gmx.net>
> wrote:
> > * RFC Errata System wrote:
> >>Original Text
> >>-------------
> >>    frame-payload-length    = ( %x00-7D )
> >>                            / ( %x7E frame-payload-length-16 )
> >>                            / ( %x7F frame-payload-length-63 )
> >>                            ; 7, 7+16, or 7+64 bits in length,
> >>                            ; respectively
> >>
> >>    frame-payload-length-16 = %x0000-FFFF ; 16 bits in length
> >>
> >>    frame-payload-length-63 = %x0000000000000000-7FFFFFFFFFFFFFFF
> >>                            ; 64 bits in length
> >
> >>Name of field and range is implying that it should be 63 bits in length,
> >>but documentation is saying 64 bits in 2 places.
> >
> > The intended interpretation is that lexically the field is 64 bit long
> > but the value space is constrained to 63 bit (so the length can be re-
> > presented in a 64 signed integer, i.e. one bit is always zero). It is a
> > bit unconventional to use ABNF like this, but it is explained in §5.2.
>

Agreed. This text clearly states that.

> If 127, the
> following 8 bytes interpreted as a 64-bit unsigned integer (the
> most significant bit MUST be 0) are the payload length.

This 63 is confusing but as we have the comment "; 64 bits in length" at
the next line and this clear definition in Section 5.2, IMO, we don't need
to bother publishing an errata.


> > --
> > Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
> > Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
> > 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
>
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
>