[squid-dev] max_url : Pls, into squid.conf
eliezer at ngtech.co.il
Mon Jul 9 18:02:25 UTC 2018
I have just stared observing 6K+ urls from google ads.
I know that web servers are ready for 16K URL's so I believe it should
be added into one of the things in the road map.
On 2018-06-09 15:42, Amos Jeffries wrote:
> On 09/06/18 22:35, babajaga wrote:
>> I get a quite a few error msgs like
>> urlParse: URL too large (9182 bytes)
>> in cache.log
>> I suspect, they are most likely from some ads, however, they make the
>> page appear slow to complete rendering.
>> Hesitating to patch defines.h directly, I kindly ask for
>> an additional parameter in squid.conf
> This is not going to happen sorry. Unfortunately there are too many
> points in the code allocating buffers for URLs which do not use the
> MAX_URL definition.
> For example; I am this very minute testing a patch to remove one more
> those bits of code I just found trying to stuff a 8KB URL into a 4KB
> buffer :-(.
> We have an ongoing project to remove the URL length limits from within
> Squid. Hopefully that will resolve the issue as it progresses without
> the need for a config option. If you are using Squid-3.5 you may see a
> reduction of these messages from Squid-4.
> PS. Squid is known to be one of the most lenient web agents. Most
> servers and other proxies have smaller URL restrictions. So whatever
> application is trying to use >9KB URLs is unlikely to work generally
> over the Internet even if we resolve the Squid complaints.
> squid-dev mailing list
> squid-dev at lists.squid-cache.org
Linux System Administrator
Email: eliezer at ngtech.co.il
More information about the squid-dev