Forum: NGINX client closed prematurely connection while reading client request line

Posted by Ilan Berkner (Guest)
on 2011-10-24 23:06
(Received via mailing list)
Very basic configuration, strictly for serving static files.

I've got the error_log setting configured to "info" to get more 
information
as to what's happening with connections, etc.

While monitoring the error log and loading a single static html file 
through
my web browser, I noticed this line in the error log show up:

2011/10/24 16:02:04 [info] 26517#0: *3132 client closed prematurely
connection while reading client request line, client: ###.###.###.###,
server: localhost

What's the reason for this error, does it matter and is there a way to
address it? is it indicative of a deeper network configuration issue 
with
TCP settings?

Thanks
Posted by Maxim Dounin (Guest)
on 2011-10-25 00:34
(Received via mailing list)
Hello!

On Mon, Oct 24, 2011 at 05:06:03PM -0400, Ilan Berkner wrote:

> server: localhost
>
> What's the reason for this error, does it matter and is there a way to
> address it? is it indicative of a deeper network configuration issue with
> TCP settings?

Some modern browsers tend to open 2 tcp connections to server from
start, and if you are loading a single static file - one of them
remains unused.  The browser eventually closes it without sending
any request, and this causes the above message in logs.

Maxim Dounin
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.