Re: [squid-users] binary data in cache.log with squid 3.0

From: Leonardo Rodrigues Magalhães <leolistas_at_solutti.com.br>
Date: Mon, 01 Sep 2008 16:18:13 -0300

Amos Jeffries escreveu:
> Leonardo Rodrigues Magalhães wrote:
>>
>> i dont know if this is expected or even desired .... but with
>> squid 3.0 i'm getting some log entries that brings lots of binary
>> data to the log. This binary stuff makes it impossible, sometimes, to
>> watch logs with 'tail -f' or even 'cat'. When binary data is
>> presented, my terminal just get completly messed up and i have to
>> disconnect and reconnect to the machine.
>>
>> Logs entries are always 'Unsupported method in request' entries.
>>
>> i skipped directly from 2.5 to 3.0 ... and never had this kind of
>> problem (binary data in cache.log) with squid 2.5. Dont know what
>> would be the behavior with 2.6 or 2.7 .....
>>
>> in squid 3.0 i'm getting something similar to:
>>
>> 2008/08/05 11:01:32| clientParseRequestMethod: Unsupported method in
>> request 'LOOOOTS OF BINARY DATA HERE'
>> 2008/08/05 11:01:32| clientProcessRequest: Invalid Request
>>
>>
>>
>
> The unsupported method bit is solved in 3-HEAD/3.1.
>
> I've just committed a hack to 3.0 which converts the binary codes to
> harmless ascii and truncates the binary stream to something usable.
>

    Hi Amos,

    Sorry for bringing back this old thread ..... but i'm facing the
same problem (binary data in cache.log) i was facing with 3.0Stable8 but
now with 2.7Stable4.

    is it possible to port that 3.0 hack to 2.7 tree ?

-- 
	Atenciosamente / Sincerily,
	Leonardo Rodrigues
	Solutti Tecnologia
	http://www.solutti.com.br
	Minha armadilha de SPAM, NÃO mandem email
	gertrudes_at_solutti.com.br
	My SPAMTRAP, do not email it
Received on Mon Sep 01 2008 - 19:18:33 MDT

This archive was generated by hypermail 2.2.0 : Tue Sep 02 2008 - 12:00:02 MDT