aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 7efa28246..6c42f385c 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -2411,6 +2411,8 @@ ngx_http_set_keepalive(ngx_http_request_t *r)
}
}
+ r->keepalive = 0;
+
ngx_http_free_request(r, 0);
c->data = hc;