Mercurial > hg > nginx-ranges
diff src/os/unix/ngx_recv.c @ 176:fae16d0c5bf4 NGINX_0_3_35
nginx 0.3.35
*) Bugfix: the accept-filter and the TCP_DEFER_ACCEPT option were set
for first "listen" directive only; bug appeared in 0.3.31.
*) Bugfix: in the "proxy_pass" directive without the URI part in a
subrequest.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 22 Mar 2006 00:00:00 +0300 |
parents | 2d15b82126ed |
children | 583decdb82a4 |
line wrap: on
line diff
--- 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 * * 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;