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

Re: Use of 1*DIGIT

From: Justin Erenkrantz <justin@erenkrantz.com>
Date: Fri, 29 Dec 2006 11:58:20 -0800
Message-ID: <5c902b9e0612291158n7f98344fh219f56bd8b40647a@mail.gmail.com>
To: "Travis Snoozy (Volt)" <a-travis@microsoft.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>

On 12/21/06, Travis Snoozy (Volt) <a-travis@microsoft.com> wrote:
> Anyone know how Apache handles this, off the top of their heads? Squid? Other servers? Clients?

httpd 2.2 and newer parses incoming Content-Length as an off_t which
if LFS is enabled is 64-bit, otherwise, it'd be 32-bit.  (Almost all
modern platforms are LFS-enabled these days.)  1.3 and 2.0 use 'long'.

http://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/http/http_filters.c

See the call to apr_strtoff() there.

HTH.  -- justin
Received on Friday, 29 December 2006 19:58:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:49:53 GMT