]> git.kaiwu.me - nginx.git/commit
Upstream: clearing of u->peer.connection on close.
authorMaxim Dounin <mdounin@mdounin.ru>
Sun, 25 Sep 2011 20:00:36 +0000 (20:00 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Sun, 25 Sep 2011 20:00:36 +0000 (20:00 +0000)
commit28b001f897e3d3dfdffe1cca811657dd36961605
treeccc0b21d71a282ea3a657ede9ce8b74a4ba4d623
parentb1565cf96b8a17409151d3fd10b434729ddf5fe8
Upstream: clearing of u->peer.connection on close.

This fixes crashes observed with some 3rd party balancer modules.  Standard
balancer modules (round-robin and ip hash) explicitly set pc->connection
(aka u->peer.connection) to NULL and aren't affected.
src/http/ngx_http_upstream.c