[squid-dev] Use MAX_URL for first line limitation
Amos Jeffries
squid3 at treenet.co.nz
Fri Jun 8 08:46:37 UTC 2018
On 08/06/18 11:18, Alex Rousskov wrote:
> On 06/07/2018 04:13 PM, Eduard Bagdasaryan wrote:
>
>> in %>ru Squid logs large and small URLs differently. For example,
>> Squid strips whitespaces from small URLs, while keeping them for
>> large ones.
>
> Is %ru logging consistent with regard to small and large URLs?
>
> * If it is, should we use the same approach to make %>ru consistent?
>
For a quick fix yes.
Longer term; all Squid code using char* buffers and MAX_URL for URL
storage is obsolete and needs fixing to use class URL (or an SBuf) instead.
Amos
More information about the squid-dev
mailing list