]> git.kaiwu.me - nginx.git/commit
Merge of r5133, r5134: peer.free() and peer.get() balance.
authorMaxim Dounin <mdounin@mdounin.ru>
Fri, 29 Mar 2013 18:16:27 +0000 (18:16 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Fri, 29 Mar 2013 18:16:27 +0000 (18:16 +0000)
commit4e2bbc23c1564ac1458dc17c5c6c38ca52ae012d
treeab17bf42ecc2266a900993b12bdd0b8c5f6c7685
parentf064449ea7067b2efe537c31c43657cd5aa6488a
Merge of r5133, r5134: peer.free() and peer.get() balance.

*) Upstream: only call peer.free() if peer.get() selected a peer.

*) Upstream: removed double-free workarounds in peer.free() methods.
src/http/modules/ngx_http_upstream_keepalive_module.c
src/http/modules/ngx_http_upstream_least_conn_module.c
src/http/ngx_http_upstream.c
src/http/ngx_http_upstream_round_robin.c