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:23 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2018-08-10 21:54:23 +0300
commit7de808990b8e49e2e18c2a013e4cca82a092fdbc (patch)
tree328f1b4cd6fecc68cd8e6b1516624533b728b711 /src/stream/ngx_stream_core_module.c
parentf3d1a925b5e27d8d78fc6da408ccc2f75994939c (diff)
downloadnginx-7de808990b8e49e2e18c2a013e4cca82a092fdbc.tar.gz
nginx-7de808990b8e49e2e18c2a013e4cca82a092fdbc.zip
Upstream keepalive: keepalive_timeout directive.
The directive configures maximum time a connection can be kept in the cache. By configuring a time which is smaller than the corresponding timeout on the backend side one can avoid the race between closing a connection by the backend and nginx trying to use the same connection to send a request at the same time.
Diffstat (limited to 'src/stream/ngx_stream_core_module.c')
0 files changed, 0 insertions, 0 deletions