nginx-0.0.2-2004-02-18-00:11:27 import
diff --git a/src/http/modules/proxy/ngx_http_proxy_handler.c b/src/http/modules/proxy/ngx_http_proxy_handler.c
index 59b1c06..68e9032 100644
--- a/src/http/modules/proxy/ngx_http_proxy_handler.c
+++ b/src/http/modules/proxy/ngx_http_proxy_handler.c
@@ -532,7 +532,7 @@
/* TODO: move connection to the connection pool */
if (ngx_del_conn) {
- ngx_del_conn(c);
+ ngx_del_conn(c, NGX_CLOSE_EVENT);
} else {
if (c->read->active) {
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index d93c61c..530b69c 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -1538,7 +1538,7 @@
}
if (ngx_del_conn) {
- ngx_del_conn(c);
+ ngx_del_conn(c, NGX_CLOSE_EVENT);
} else {
if (c->read->active || c->read->disabled) {