[squid-users] squid no longer aborts bad request?

From: Kaiwang Chen <kaiwang.chen_at_gmail.com>
Date: Sun, 29 Aug 2010 01:29:56 +0800

In 2.6.STALBE21, squid immediately responds with 400 when I enter
'a'; while in 3.1.6 the connection expects more characters, although
it will definitively not get a good request.

[root_at_squid1 root]# telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
a
HTTP/1.0 400 Bad Request
Server: squid/2.6.STABLE21
...
Some aspect of the HTTP Request is invalid. Possible problems:
Missing or unknown request method
Missing URL
Missing HTTP Identifier (HTTP/1.0)
Request is too large
(more...)
...

[root_at_dev ~]# telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
a

b
(can type in anything, and Ctrl-C will not abort connection. It just hang there)

Is there a configuration directive that controls it?

Thanks,
kc
Received on Sat Aug 28 2010 - 17:29:58 MDT

This archive was generated by hypermail 2.2.0 : Sun Aug 29 2010 - 12:00:07 MDT