Mercurial > hg > nginx-vendor-0-8
comparison src/event/ngx_event_pipe.c @ 136:3656228c0b56 NGINX_0_3_15
nginx 0.3.15
*) Feature: the new 444 code of the "return" directive to close
connection.
*) Feature: the "so_keepalive" directive in IMAP/POP3 proxy.
*) Bugfix: if there are unclosed connection nginx now calls abort()
only on gracefull quit and active "debug_points" directive.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 07 Dec 2005 00:00:00 +0300 |
parents | 91372f004adf |
children | 6be073125f2e |
comparison
equal
deleted
inserted
replaced
135:c1ac76c0e9df | 136:3656228c0b56 |
---|---|
129 * This test allows not to allocate a buf on these conditions | 129 * This test allows not to allocate a buf on these conditions |
130 * and not to call c->recv_chain(). | 130 * and not to call c->recv_chain(). |
131 */ | 131 */ |
132 | 132 |
133 if (p->upstream->read->available == 0 | 133 if (p->upstream->read->available == 0 |
134 && p->upstream->read->pending_eof | 134 && p->upstream->read->pending_eof) |
135 /* FreeBSD 5.x-6.x may erroneously report ETIMEDOUT */ | |
136 && p->upstream->read->kq_errno != NGX_ETIMEDOUT) | |
137 { | 135 { |
138 p->upstream->read->ready = 0; | 136 p->upstream->read->ready = 0; |
139 p->upstream->read->eof = 0; | 137 p->upstream->read->eof = 0; |
140 p->upstream_eof = 1; | 138 p->upstream_eof = 1; |
141 p->read = 1; | 139 p->read = 1; |