Mercurial > hg > nginx
comparison src/os/unix/ngx_recv.c @ 627:387450de0b4d release-0.3.35
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.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 28 Mar 2006 12:24:47 +0000 |
parents | 608cf78b24ef |
children | e438ec9e736a 9b047c9e96c1 |
comparison
equal
deleted
inserted
replaced
626:517493c33072 | 627:387450de0b4d |
---|---|
75 /* | 75 /* |
76 * on FreeBSD recv() may return 0 on closed socket | 76 * on FreeBSD recv() may return 0 on closed socket |
77 * even if kqueue reported about available data | 77 * even if kqueue reported about available data |
78 */ | 78 */ |
79 | 79 |
80 #if 0 | |
80 ngx_log_error(NGX_LOG_ALERT, c->log, 0, | 81 ngx_log_error(NGX_LOG_ALERT, c->log, 0, |
81 "recv() returned 0 while kevent() reported " | 82 "recv() returned 0 while kevent() reported " |
82 "%d available bytes", rev->available); | 83 "%d available bytes", rev->available); |
84 #endif | |
83 | 85 |
84 rev->eof = 1; | 86 rev->eof = 1; |
85 rev->available = 0; | 87 rev->available = 0; |
86 } | 88 } |
87 | 89 |