diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2021-04-08 00:15:48 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2021-04-08 00:15:48 +0300 |
commit | d9996d6f27150bfb9c9c00d77fac940712aa1d28 (patch) | |
tree | 0dddf15a4e9c9d31cb66677ea7f8746e9402f4c7 /src/http/ngx_http_core_module.h | |
parent | 5599731c00bd152f765c7cea24a7d257bf13320c (diff) | |
download | nginx-d9996d6f27150bfb9c9c00d77fac940712aa1d28.tar.gz nginx-d9996d6f27150bfb9c9c00d77fac940712aa1d28.zip |
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.
Diffstat (limited to 'src/http/ngx_http_core_module.h')
-rw-r--r-- | src/http/ngx_http_core_module.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h index 2aadae7ff..2341fd463 100644 --- a/src/http/ngx_http_core_module.h +++ b/src/http/ngx_http_core_module.h @@ -359,6 +359,7 @@ struct ngx_http_core_loc_conf_s { 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 */ |