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: Fri, 03 Nov 2017 07:04:08 +0000
To: Willy Tarreau <w@1wt.eu>
cc: Mark Nottingham <mnot@mnot.net>
Message-ID: <80831.1509692648@critter.freebsd.dk>
In message <20171103055340.GB15878@1wt.eu>, Willy Tarreau writes:
>On Fri, Nov 03, 2017 at 10:51:02AM +1100, Mark Nottingham wrote:

>I'd rather proceed differently :
>  - indicate a limit for sent values which serves as a minimum size for
>    received value *to be compliant*. Eg: "if you send values no greater
>    than 2^32-1, and can parse values as large as 2^32-1, you are expected
>    to be interoperable with any compliant implementation

Remember:  This draft is only about text-processing.

No relevant computer can possibly have problems *parsing* a 64 bit
integer or 15 digit number.

They may not be able to deal with an object with that many bytes,
but the *semantics* of the numerical value parsed depends on the
header and limits and overflow handling should be defined in along
with the header.

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 Friday, 3 November 2017 07:16:31 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 November 2017 00:14:14 UTC