diff src/http/modules/proxy/ngx_http_proxy_handler.c @ 161:88abd07d9f62

nginx-0.0.1-2003-10-27-19:16:17 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 27 Oct 2003 16:16:17 +0000
parents e7e094d34162
children 96993d4d5067
line wrap: on
line diff
--- a/src/http/modules/proxy/ngx_http_proxy_handler.c
+++ b/src/http/modules/proxy/ngx_http_proxy_handler.c
@@ -457,6 +457,7 @@ static void ngx_http_proxy_send_request(
                 return;
             }
 
+            ngx_event_connect_peer_failed(&p->upstream);
             ngx_http_proxy_close_connection(c);
         }