]> git.kaiwu.me - nginx.git/commit
Upstream: avoid holding a cache node with upgraded connections.
authorMaxim Dounin <mdounin@mdounin.ru>
Thu, 3 Nov 2016 14:09:32 +0000 (17:09 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Thu, 3 Nov 2016 14:09:32 +0000 (17:09 +0300)
commit5eac3bca41bcf4d75d0da2fe88e72516e889779d
treef7051966c29abd93faf23221bcb768de1ca098fd
parent6d9023f7b435e41a72b7729fc0a7afdd5fa59c5a
Upstream: avoid holding a cache node with upgraded connections.

Holding a cache node lock doesn't make sense as we can't use caching
anyway, and results in "ignore long locked inactive cache entry" alerts
if a node is locked for a long time.

The same is done for unbuffered connections, as they can be alive for
a long time as well.
src/http/ngx_http_upstream.c