Hi all,
I am new to this mailing list and I am running
a squid 2.3s4 on both HP and Sun for a large number
of users.
Some have reported me a problem for a server to server
communication process using HTTP with large URLs.
After some inquiries into squid source code I found the following :
url.c
if ((l = strlen(url)) + Config.appendDomainLen > (MAX_URL - 1)) {
/* terminate so it doesn't overflow other buffers */
*(url + (MAX_URL >> 1)) = '\0';
debug(23, 1) ("urlParse: URL too large (%d bytes)\n", l);
return NULL;
}
defines.h
#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 ?
Thanks for any help?
Anthony Homo
Received on Wed Jun 06 2001 - 10:07:23 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:31 MST