> > > 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 ? > That would be up to Henrik who maintains Squid 2.x I can't see any reasons why not though. I've posted a proposal to squid-dev about it. Amos