[squid-dev] max_url : Pls, into squid.conf
Eliezer Croitoru
eliezer at ngtech.co.il
Mon Jul 9 18:02:25 UTC 2018
Hey Amos,
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.
Eliezer
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
>> web
>> 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
> of
> 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
> origin
> 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.
>
> Amos
> _______________________________________________
> squid-dev mailing list
> squid-dev at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-dev
--
----
Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: eliezer at ngtech.co.il
More information about the squid-dev
mailing list