Re: [hybi] Frame size

Ian Hickson <ian@hixie.ch> Mon, 19 April 2010 00:23 UTC

Return-Path: <ian@hixie.ch>
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 9DE2F3A691B for <hybi@core3.amsl.com>; Sun, 18 Apr 2010 17:23:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.895
X-Spam-Level:
X-Spam-Status: No, score=-1.895 tagged_above=-999 required=5 tests=[AWL=0.704, BAYES_00=-2.599]
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 x83K9LcWtyAG for <hybi@core3.amsl.com>; Sun, 18 Apr 2010 17:23:17 -0700 (PDT)
Received: from looneymail-a2.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by core3.amsl.com (Postfix) with ESMTP id C58563A68BE for <hybi@ietf.org>; Sun, 18 Apr 2010 17:23:17 -0700 (PDT)
Received: from ps20323.dreamhostps.com (ps20323.dreamhost.com [69.163.222.251]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by looneymail-a2.g.dreamhost.com (Postfix) with ESMTP id D3E5216D403; Sun, 18 Apr 2010 17:23:09 -0700 (PDT)
Date: Mon, 19 Apr 2010 00:23:09 +0000
From: Ian Hickson <ian@hixie.ch>
To: Mike Belshe <mike@belshe.com>
In-Reply-To: <w2j2a10ed241004181718ydd740e64ja983187fd3116c70@mail.gmail.com>
Message-ID: <Pine.LNX.4.64.1004190021040.751@ps20323.dreamhostps.com>
References: <8B0A9FCBB9832F43971E38010638454F03E3F313ED@SISPE7MB1.commscope.com> <v2m5c902b9e1004160043i7b5ccc79y2346e1b2b2c55cf5@mail.gmail.com> <s2qad99d8ce1004160053w436a29b1idae0c66737b3760a@mail.gmail.com> <4BC85A31.6060605@webtide.com> <t2iad99d8ce1004160949yb1ba9582l3b626c19dacf8d9@mail.gmail.com> <4BC96DA1.3000706@webtide.com> <u2m2a10ed241004181635qd0554193v36da94ecd7284d31@mail.gmail.com> <l2o2a10ed241004181637hdfab97d5r68f6845be49e8ad8@mail.gmail.com> <Pine.LNX.4.64.1004190007370.751@ps20323.dreamhostps.com> <w2j2a10ed241004181718ydd740e64ja983187fd3116c70@mail.gmail.com>
Content-Language: en-GB-hixie
Content-Style-Type: text/css
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
Cc: Hybi <hybi@ietf.org>
Subject: Re: [hybi] Frame size
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: Mon, 19 Apr 2010 00:23:25 -0000

On Sun, 18 Apr 2010, Mike Belshe wrote:
> >
> > N years from now (for some value of N) people will be saying the same 
> > about 32 bits. That's why I used a packed integer instead of a 
> > fixed-width integer to specify lengths.
> 
> Of course, agree.  And despite where 32bits has failed us in history 
> previously, I still think this is far enough out that we'll be able to 
> upgrade by then.

Sounds like Y2K reasoning. :-)


> If you think N is sufficiently small for 32bits, we should use 64bits, 
> would that make N sufficiently far away? :-)

Reserving more than four bytes every time just seems like a lot of wasted 
bytes. Not that they're expensive or anything, but most of these frames 
are going to be only a few bytes, so it just seems silly to be padding 
everything full of zeros.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'