diff options
Diffstat (limited to 'src/event/ngx_event_pipe.c')
-rw-r--r-- | src/event/ngx_event_pipe.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/event/ngx_event_pipe.c b/src/event/ngx_event_pipe.c index 0c499a831..ffb7929dd 100644 --- a/src/event/ngx_event_pipe.c +++ b/src/event/ngx_event_pipe.c @@ -131,9 +131,7 @@ ngx_event_pipe_read_upstream(ngx_event_pipe_t *p) */ if (p->upstream->read->available == 0 - && p->upstream->read->pending_eof - /* FreeBSD 5.x-6.x may erroneously report ETIMEDOUT */ - && p->upstream->read->kq_errno != NGX_ETIMEDOUT) + && p->upstream->read->pending_eof) { p->upstream->read->ready = 0; p->upstream->read->eof = 0; |