comparison src/os/unix/ngx_readv_chain.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 ac33852faaac
comparison
equal deleted inserted replaced
626:517493c33072 627:387450de0b4d
116 /* 116 /*
117 * on FreeBSD recv() may return 0 on closed socket 117 * on FreeBSD recv() may return 0 on closed socket
118 * even if kqueue reported about available data 118 * even if kqueue reported about available data
119 */ 119 */
120 120
121 #if 0
121 ngx_log_error(NGX_LOG_ALERT, c->log, 0, 122 ngx_log_error(NGX_LOG_ALERT, c->log, 0,
122 "readv() returned 0 while kevent() reported " 123 "readv() returned 0 while kevent() reported "
123 "%d available bytes", rev->available); 124 "%d available bytes", rev->available);
125 #endif
124 126
125 rev->eof = 1; 127 rev->eof = 1;
126 rev->available = 0; 128 rev->available = 0;
127 } 129 }
128 130