Mercurial > hg > nginx
diff src/http/ngx_http_core_module.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 | 681b78a98a52 |
children | 1bde031b59ff 7f95010f10b7 |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.h Wed Apr 07 02:03:29 2021 +0300 +++ b/src/http/ngx_http_core_module.h Thu Apr 08 00:15:48 2021 +0300 @@ -359,6 +359,7 @@ ngx_msec_t client_body_timeout; /* client_body_timeout */ ngx_msec_t send_timeout; /* send_timeout */ + ngx_msec_t keepalive_time; /* keepalive_time */ ngx_msec_t keepalive_timeout; /* keepalive_timeout */ ngx_msec_t lingering_time; /* lingering_time */ ngx_msec_t lingering_timeout; /* lingering_timeout */