summaryrefslogtreecommitdiffhomepage
path: root/src/os/unix/ngx_darwin_init.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-12-10 16:35:32 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-12-10 16:35:32 +0000
commit72bba4144b29c22753fc7463088597b871c087fa (patch)
tree26ae0523d9502a1e692ebf846e248d84ab37cff1 /src/os/unix/ngx_darwin_init.c
parent18590cd21ed25d77f57a26c9989c735fb7f4cbc8 (diff)
downloadnginx-72bba4144b29c22753fc7463088597b871c087fa.tar.gz
nginx-72bba4144b29c22753fc7463088597b871c087fa.tar.bz2
Merge of r4915, r4916, r4917: upstream minor fixes.
*) Upstream: honor the "down" flag for a single server. If an upstream block was defined with the only server marked as "down", e.g. upstream u { server 127.0.0.1:8080 down; } an attempt was made to contact the server despite the "down" flag. It is believed that immediate 502 response is better in such a case, and it's also consistent with what is currently done in case of multiple servers all marked as "down". *) Upstream: better detection of connect() failures with kqueue. Pending EOF might be reported on both read and write events, whichever comes first, so check both of them. Patch by Yichun Zhang (agentzh), slightly modified.
Diffstat (limited to 'src/os/unix/ngx_darwin_init.c')
0 files changed, 0 insertions, 0 deletions