]> git.kaiwu.me - nginx.git/commit
Upstream keepalive: keepalive_timeout directive.
authorMaxim Dounin <mdounin@mdounin.ru>
Fri, 10 Aug 2018 18:54:23 +0000 (21:54 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Fri, 10 Aug 2018 18:54:23 +0000 (21:54 +0300)
commit7de808990b8e49e2e18c2a013e4cca82a092fdbc
tree328f1b4cd6fecc68cd8e6b1516624533b728b711
parentf3d1a925b5e27d8d78fc6da408ccc2f75994939c
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.
src/http/modules/ngx_http_upstream_keepalive_module.c