Response code 400 for prematurely closed connection

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


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 - - [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!

Posted at Nginx Forum:,159071,159071#msg-159071

More information about the nginx mailing list