<div dir="ltr">Hello,<div><br></div><div>It seems that if the client closes the connection during a requests there are time when the request is logged as 400 and other times as 499.</div><div><br></div><div>Is there a reason for the difference? Serving of the error page cannot be it because the connection is closed anyway.</div><div><br></div><div>Thanks.</div><div><br></div><div>Examples of 400:</div><div><a href="http://lxr.nginx.org/source/src/http/ngx_http_request.c#1358">http://lxr.nginx.org/source/src/http/ngx_http_request.c#1358</a><br></div><div>ngx_http_read_request_header</div><div><br></div><div><div><a href="http://lxr.nginx.org/source/src/http/ngx_http_request_body.c#0289">http://lxr.nginx.org/source/src/http/ngx_http_request_body.c#0289</a><br></div><div>ngx_http_do_read_client_request_body</div></div><div><br></div><div>Examples of 499:</div><div><a href="http://lxr.nginx.org/source/src/http/ngx_http_request.c#2715">http://lxr.nginx.org/source/src/http/ngx_http_request.c#2715</a><br></div><div>ngx_http_test_reading</div><div>All closed connection events in ngx_http_upstream.c</div><div><br></div></div>