W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2017

Re: New Version Notification for draft-nottingham-structured-headers-00.txt

From: Poul-Henning Kamp <phk@phk.freebsd.dk>
Date: Mon, 30 Oct 2017 07:08:49 +0000
To: Willy Tarreau <w@1wt.eu>
cc: Kazuho Oku <kazuhooku@gmail.com>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <39994.1509347329@critter.freebsd.dk>
In message <20171030060251.GB28950@1wt.eu>, Willy Tarreau writes:
>On Mon, Oct 30, 2017 at 02:38:19PM +0900, Kazuho Oku wrote:

>Instead I think that explaining very common implementation limits to be
>expected in field (eg: 2^31-1, 2^32-1 and 2^63-1 for integers) would
>help implementors decide what to support and what not. Ie if it's not
>harder to support 2^63 than 2^32 for integers, better do it. 

... unless your programming language thinks all numbers are

The 15 digit limit is to make sure that numbers will not loose
precision in a floating-point double, while still being sufficiently
large for any byte-count a HTTP header can expect to ever see.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Monday, 30 October 2017 07:09:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:15:11 UTC