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

--------
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