]> git.kaiwu.me - nginx.git/commit
Core: removed post_accept_timeout.
authorMaxim Dounin <mdounin@mdounin.ru>
Tue, 19 Jan 2021 17:32:00 +0000 (20:32 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Tue, 19 Jan 2021 17:32:00 +0000 (20:32 +0300)
commit2ec8fac2d6b8e5023c9894d10bc50d78e63f242c
treec7f92dfb2d832edbcbe43ee620f0667e27c0c90c
parentd2c0b9a6c7b0757d5d55db36b1ae656bba056a8c
Core: removed post_accept_timeout.

Keeping post_accept_timeout in ngx_listening_t is no longer needed since
we've switched to 1 second timeout for deferred accept in 5541:fdb67cfc957d.

Further, using it in HTTP code can result in client_header_timeout being
used from an incorrect server block, notably if address-specific virtual
servers are used along with a wildcard listening socket, or if we've switched
to a different server block based on SNI in SSL handshake.
src/core/ngx_connection.h
src/http/ngx_http.c
src/http/ngx_http_request.c