From d9996d6f27150bfb9c9c00d77fac940712aa1d28 Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Thu, 8 Apr 2021 00:15:48 +0300 Subject: 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. --- src/core/ngx_connection.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/ngx_connection.h') diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h index 9d8ac46d2..4716da492 100644 --- a/src/core/ngx_connection.h +++ b/src/core/ngx_connection.h @@ -162,6 +162,7 @@ struct ngx_connection_s { ngx_atomic_uint_t number; + ngx_msec_t start_time; ngx_uint_t requests; unsigned buffered:8; -- cgit