Do not confuse a client hanging up with a connection time out
authorFabian Keil <fk@fabiankeil.de>
Mon, 23 Jul 2012 12:39:12 +0000 (12:39 +0000)
committerFabian Keil <fk@fabiankeil.de>
Mon, 23 Jul 2012 12:39:12 +0000 (12:39 +0000)
commit8c144430bd5b07ee088dcc01f3799b488219954a
treee0c0f3256694695695ec2ed55d73f73e36aa831a
parent6d2de29c307782cb6b8871b12dcf7a1d86f62471
Do not confuse a client hanging up with a connection time out

If a client closes its side of the connection without sending
a request line, do not send the CLIENT_CONNECTION_TIMEOUT_RESPONSE,
but report the condition properly.

This was reproducible with (for example):
false | nc privoxy-jail 8118
jcc.c