Mercurial > hg > nginx-quic
view auto/lib/zlib/patch.zlib.h @ 4914:dcb853acae97
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".
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 16 Nov 2012 12:18:05 +0000 |
parents | b1648294f693 |
children |
line wrap: on
line source
--- zlib.h Thu Jul 9 20:06:56 1998 +++ zlib-1.1.3/zlib.h Tue Mar 22 13:41:04 2005 @@ -709,7 +709,6 @@ (0 in case of error). */ -ZEXTERN int ZEXPORTVA gzprintf OF((gzFile file, const char *format, ...)); /* Converts, formats, and writes the args to the compressed file under control of the format string, as in fprintf. gzprintf returns the number of