Mercurial > hg > nginx-vendor-current
comparison src/http/ngx_http_upstream.c @ 692:6db6e93f55ee NGINX_1_3_9
nginx 1.3.9
*) Feature: support for chunked transfer encoding while reading client
request body.
*) Feature: the $request_time and $msec variables can now be used not
only in the "log_format" directive.
*) Bugfix: cache manager and cache loader processes might not be able to
start if more than 512 listen sockets were used.
*) Bugfix: in the ngx_http_dav_module.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 27 Nov 2012 00:00:00 +0400 |
parents | b5b7eea22fda |
children | 88a1b4797f2e |
comparison
equal
deleted
inserted
replaced
691:acfd484db0ca | 692:6db6e93f55ee |
---|---|
1807 socklen_t len; | 1807 socklen_t len; |
1808 | 1808 |
1809 #if (NGX_HAVE_KQUEUE) | 1809 #if (NGX_HAVE_KQUEUE) |
1810 | 1810 |
1811 if (ngx_event_flags & NGX_USE_KQUEUE_EVENT) { | 1811 if (ngx_event_flags & NGX_USE_KQUEUE_EVENT) { |
1812 if (c->write->pending_eof) { | 1812 if (c->write->pending_eof || c->read->pending_eof) { |
1813 if (c->write->pending_eof) { | |
1814 err = c->write->kq_errno; | |
1815 | |
1816 } else { | |
1817 err = c->read->kq_errno; | |
1818 } | |
1819 | |
1813 c->log->action = "connecting to upstream"; | 1820 c->log->action = "connecting to upstream"; |
1814 (void) ngx_connection_error(c, c->write->kq_errno, | 1821 (void) ngx_connection_error(c, err, |
1815 "kevent() reported that connect() failed"); | 1822 "kevent() reported that connect() failed"); |
1816 return NGX_ERROR; | 1823 return NGX_ERROR; |
1817 } | 1824 } |
1818 | 1825 |
1819 } else | 1826 } else |