comparison src/core/ngx_connection.h @ 7762:4e141d0816d4

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.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 19 Jan 2021 20:32:00 +0300
parents 06b01840bd42
children fdc3d40979b0 13f7085b90d2
comparison
equal deleted inserted replaced
7761:43a0a9e988be 7762:4e141d0816d4
43 ngx_log_t *logp; 43 ngx_log_t *logp;
44 44
45 size_t pool_size; 45 size_t pool_size;
46 /* should be here because of the AcceptEx() preread */ 46 /* should be here because of the AcceptEx() preread */
47 size_t post_accept_buffer_size; 47 size_t post_accept_buffer_size;
48 /* should be here because of the deferred accept */
49 ngx_msec_t post_accept_timeout;
50 48
51 ngx_listening_t *previous; 49 ngx_listening_t *previous;
52 ngx_connection_t *connection; 50 ngx_connection_t *connection;
53 51
54 ngx_rbtree_t rbtree; 52 ngx_rbtree_t rbtree;