diff options
Diffstat (limited to 'src/http')
| -rw-r--r-- | src/http/modules/proxy/ngx_http_proxy_handler.c | 2 | ||||
| -rw-r--r-- | src/http/ngx_http_request.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/http/modules/proxy/ngx_http_proxy_handler.c b/src/http/modules/proxy/ngx_http_proxy_handler.c index 59b1c06e8..68e9032c2 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 @@ void ngx_http_proxy_close_connection(ngx_http_proxy_ctx_t *p) /* 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 d93c61c2b..530b69ce8 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -1538,7 +1538,7 @@ void ngx_http_close_connection(ngx_connection_t *c) } if (ngx_del_conn) { - ngx_del_conn(c); + ngx_del_conn(c, NGX_CLOSE_EVENT); } else { if (c->read->active || c->read->disabled) { |
