Response code 400 for prematurely closed connection

Denis nginx-forum at nginx.us
Thu Dec 16 13:21:00 MSK 2010


Hello!

Please correct me if I'm wrong, but I noticed if you open and
immediately close a TCP connection to HTTP port without sending any HTTP
headers or anything, it ends up as 
xxx.xxx.xxx.xxx - - [16/Dec/2010:18:14:34 +0900] "-" 400 0 "-" "-"
in accesslog. Not that it's a huge problem, but it confuses our log
analyser/statistics a bit.

Is there a way to disabled those log messages in this case or am I
missing something here?

Many thanks!
Denis.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,159071,159071#msg-159071




More information about the nginx mailing list