From 6275f56129da620742f578590abb3c61ede68b89 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 28 Mar 2006 12:24:47 +0000 Subject: nginx-0.3.35-RELEASE import *) Bugfix: the accept-filter and the TCP_DEFER_ACCEPT option were set for first "listen" directive only; the bug had appeared in 0.3.31. *) Bugfix: in the "proxy_pass" directive without the URI part in a subrequest. --- src/os/unix/ngx_recv.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/os/unix/ngx_recv.c') diff --git a/src/os/unix/ngx_recv.c b/src/os/unix/ngx_recv.c index f38730ec3..db9a83450 100644 --- a/src/os/unix/ngx_recv.c +++ b/src/os/unix/ngx_recv.c @@ -77,9 +77,11 @@ ssize_t ngx_unix_recv(ngx_connection_t *c, u_char *buf, size_t size) * even if kqueue reported about available data */ +#if 0 ngx_log_error(NGX_LOG_ALERT, c->log, 0, "recv() returned 0 while kevent() reported " "%d available bytes", rev->available); +#endif rev->eof = 1; rev->available = 0; -- cgit v1.2.1