comparison src/core/ngx_connection.h @ 7820:fdc3d40979b0

Introduced the "keepalive_time" directive. Similar to lingering_time, it limits total connection lifetime before keepalive is switched off. The default is 1 hour, which is close to the total maximum connection lifetime possible with default keepalive_requests and keepalive_timeout.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 08 Apr 2021 00:15:48 +0300
parents 4e141d0816d4
children ec2e6893caaa 7f95010f10b7
comparison
equal deleted inserted replaced
7819:3674d5b7174e 7820:fdc3d40979b0
160 160
161 ngx_queue_t queue; 161 ngx_queue_t queue;
162 162
163 ngx_atomic_uint_t number; 163 ngx_atomic_uint_t number;
164 164
165 ngx_msec_t start_time;
165 ngx_uint_t requests; 166 ngx_uint_t requests;
166 167
167 unsigned buffered:8; 168 unsigned buffered:8;
168 169
169 unsigned log_error:3; /* ngx_connection_log_error_e */ 170 unsigned log_error:3; /* ngx_connection_log_error_e */