Re: Use of 1*DIGIT

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 UTC