comparison src/event/ngx_event_pipe.c @ 375:744ccb59062d

nginx-0.0.7-2004-07-02-19:54:34 import
author Igor Sysoev <igor@sysoev.ru>
date Fri, 02 Jul 2004 15:54:34 +0000
parents a3e622ab7ee7
children da8c5707af39
comparison
equal deleted inserted replaced
374:213f17e9f776 375:744ccb59062d
118 * This test allows not to allocate a buf on these conditions 118 * This test allows not to allocate a buf on these conditions
119 * and not to call ngx_recv_chain(). 119 * and not to call ngx_recv_chain().
120 */ 120 */
121 121
122 if (p->upstream->read->available == 0 122 if (p->upstream->read->available == 0
123 && (p->upstream->read->kq_eof || p->upstream->read->aio_eof)) 123 && p->upstream->read->pending_eof)
124 { 124 {
125 p->upstream->read->ready = 0; 125 p->upstream->read->ready = 0;
126 p->upstream->read->eof = 0; 126 p->upstream->read->eof = 0;
127 p->upstream_eof = 1; 127 p->upstream_eof = 1;
128 p->read = 1; 128 p->read = 1;