On 1/10/2012 12:15 a.m., Eliezer Croitoru wrote:
at: http://bugs.squid-cache.org/show_bug.cgi?id=3656


Response in bugzilla.

Squid handles bad ICY request from some software.

squid logs some ICY requests as:
1349001551.597 0 192.168.10.134 NONE/400 4151 NONE error:invalid-request -
HIER_NONE/- text/html
which comes from:
src/client_side.cc:2016:
or
src/client_side.cc:2152:

and I didt traced it back but it somewhere at the parsing of the request
I tried to use debug_options 74,8 but it only gave me:

2012/09/30 12:54:24.539 kid1| HttpParser.cc(38) parseRequestFirstLine: parsing
possible request: GET /di_deephouse_aac HTTP/1.0

What is not clear to human eyes is the invalid whitespace on the request line:

  GET\0x20/di_deephouse_aac\0x20HTTP/1.0\0x20

Leading to ...
2012/09/30 12:54:24.539 kid1| Parser: retval -1: from 0->32: method 0->2; url
4->29; version -1->-1 (0/0)


Amos

Reply via email to