Mercurial > hg > nginx
diff src/http/modules/proxy/ngx_http_proxy_upstream.c @ 315:39b6f2df45c0
nginx-0.0.3-2004-04-14-21:44:28 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 14 Apr 2004 17:44:28 +0000 |
parents | d71c87d11b16 |
children | 6bdf858bff8c |
line wrap: on
line diff
--- a/src/http/modules/proxy/ngx_http_proxy_upstream.c +++ b/src/http/modules/proxy/ngx_http_proxy_upstream.c @@ -338,9 +338,7 @@ static void ngx_http_proxy_init_upstream r->connection->read->event_handler = ngx_http_proxy_check_broken_connection; - if (ngx_event_flags & (NGX_USE_CLEAR_EVENT|NGX_HAVE_KQUEUE_EVENT)) { - - /* kqueue allows to detect when client closes prematurely connection */ + if (ngx_event_flags & NGX_USE_CLEAR_EVENT) { r->connection->write->event_handler = ngx_http_proxy_check_broken_connection; @@ -627,11 +625,6 @@ static void ngx_http_proxy_connect(ngx_h if (rc == NGX_AGAIN) { ngx_add_timer(c->write, p->lcf->connect_timeout); - - ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0, - "http proxy connect handler: " PTR_FMT, - c->write->event_handler); - return; }