Welcome! Log In Create A New Profile

Advanced

Client closed connection: 400 vs 499

Sorin Manole
June 15, 2015 04:30AM
Hello,

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.

Is there a reason for the difference? Serving of the error page cannot be
it because the connection is closed anyway.

Thanks.

Examples of 400:
http://lxr.nginx.org/source/src/http/ngx_http_request.c#1358
ngx_http_read_request_header

http://lxr.nginx.org/source/src/http/ngx_http_request_body.c#0289
ngx_http_do_read_client_request_body

Examples of 499:
http://lxr.nginx.org/source/src/http/ngx_http_request.c#2715
ngx_http_test_reading
All closed connection events in ngx_http_upstream.c
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Client closed connection: 400 vs 499

Sorin Manole 657 June 15, 2015 04:30AM

Re: Client closed connection: 400 vs 499

Maxim Dounin 647 June 15, 2015 10:26AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 148
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready