]> git.kaiwu.me - nginx.git/commit
Stream: upstream "connected" flag.
authorRoman Arutyunyan <arut@nginx.com>
Thu, 25 Jun 2015 09:36:52 +0000 (12:36 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Thu, 25 Jun 2015 09:36:52 +0000 (12:36 +0300)
commitf81ae4e39234526d259d6ecdd62a09cad6f7adce
tree0578a40a7d68b07c51fd1e30b54393980b297afd
parent74942045d5ee7a6955ffb5e1d38e534721b04137
Stream: upstream "connected" flag.

Once upstream is connected, the upstream buffer is allocated.  Previously, the
proxy module used the buffer allocation status to check if upstream is
connected.  Now it's enough to check the flag.
src/stream/ngx_stream_proxy_module.c
src/stream/ngx_stream_upstream.h