summaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_recv.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-03-28 12:24:47 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-03-28 12:24:47 +0000
commit6275f56129da620742f578590abb3c61ede68b89 (patch)
tree30e2091b58f98687176b0db88f3170ba476fddb2 /src/os/unix/ngx_recv.c
parent39600ca7fcf7a4c6337ddff64eeca322a544f391 (diff)
downloadnginx-release-0.3.35.tar.gz
nginx-0.3.35-RELEASE importrelease-0.3.35
*) 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.
Diffstat (limited to 'src/os/unix/ngx_recv.c')
-rw-r--r--src/os/unix/ngx_recv.c2
1 files changed, 2 insertions, 0 deletions
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;