aboutsummaryrefslogtreecommitdiff
path: root/src/stream/ngx_stream_core_module.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2018-08-10 21:54:46 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2018-08-10 21:54:46 +0300
commitd817ceae729914e7423c4c206165fc244513f021 (patch)
tree556b398cd41a7ad290cf92fac7ab7f1346159248 /src/stream/ngx_stream_core_module.c
parent7de808990b8e49e2e18c2a013e4cca82a092fdbc (diff)
downloadnginx-d817ceae729914e7423c4c206165fc244513f021.tar.gz
nginx-d817ceae729914e7423c4c206165fc244513f021.zip
Upstream keepalive: keepalive_requests directive.
The directive configures maximum number of requests allowed on a connection kept in the cache. Once a connection reaches the number of requests configured, it is no longer saved to the cache. The default is 100. Much like keepalive_requests for client connections, this is mostly a safeguard to make sure connections are closed periodically and the memory allocated from the connection pool is freed.
Diffstat (limited to 'src/stream/ngx_stream_core_module.c')
0 files changed, 0 insertions, 0 deletions