Re: [squid-users] urlParse: URL too large

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 06 Jun 2001 22:05:27 +0200

Anthony Homo wrote:

> #define MAX_URL 4096
>
> I would like to know why the maximum length of an URL has
> been set to 4096 bytes ? (Is it part of an RFC ?)
> How is it tunable without modifying the source code ?

RFC: No limit, except note that older proxies or user agents may impose
a limit.

Squid: Limited to 4096. Should be safe to increase. Objects with very
long URL's wont be cached properly thou due to a buffering problem on
cache hits.. (the object will get cached, but subsequent hits will fail
to verify the URL of the cached file and go direct instead).

--
Henrik Nordstrom
Squid Hacker
Received on Wed Jun 06 2001 - 14:30:46 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:31 MST