comparison src/http/modules/proxy/ngx_http_proxy_upstream.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 7650aea1816f
children 41437e4fd9b4
comparison
equal deleted inserted replaced
374:213f17e9f776 375:744ccb59062d
658 658
659 #if (HAVE_KQUEUE) 659 #if (HAVE_KQUEUE)
660 660
661 if ((ngx_event_flags & NGX_HAVE_KQUEUE_EVENT) 661 if ((ngx_event_flags & NGX_HAVE_KQUEUE_EVENT)
662 && !p->request_sent 662 && !p->request_sent
663 && c->write->kq_eof) 663 && c->write->pending_eof)
664 { 664 {
665 ngx_log_error(NGX_LOG_ERR, c->log, c->write->kq_errno, 665 ngx_log_error(NGX_LOG_ERR, c->log, c->write->kq_errno,
666 "connect() failed"); 666 "connect() failed");
667 667
668 ngx_http_proxy_next_upstream(p, NGX_HTTP_PROXY_FT_ERROR); 668 ngx_http_proxy_next_upstream(p, NGX_HTTP_PROXY_FT_ERROR);