On 12/01/2026 20:23, Dieter Bloms wrote:
Hello,
there is a web application, which uses URLs longer than 8 KByte.
Now I would like to set MAX_URL to 12 KByte in src/defines.h, but I'am not
sure what negative effects this might have.
Does anybody know if I can safely increase this value to 12 KByte?
Maybe. You can try, but no promises on good behaviour.
(This is the same deal as HTTP protocol itself - agents are required to
support 8KB URLs, "MAY" support more)
FWIW, there are still legacy c-string buffers which are limited to 8KB
(not using "MAX_URL" constant to stretch) in HTTP Authentication (Basic
with LDAP, Digest, Kerberos), HTCP, ICP, and pinger which may need to
have URIs inside them. Those components are more likely to have issues
than others.
HTH
Amos
_______________________________________________
squid-users mailing list
[email protected]
https://lists.squid-cache.org/listinfo/squid-users