From 6ffd147a1e765d5757ce6b5e1e262ab1e0116054 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=91=A3=E5=AE=87?= <fishgege@users.noreply.github.com>
Date: Wed, 6 Sep 2017 11:13:10 +0800
Subject: [PATCH] Update ngx_http_core_module.c
---
src/http/ngx_http_core_module.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index f357ee4..8a16a46 100644
|
a
|
b
|
ngx_http_subrequest(ngx_http_request_t *r,
|
| 2491 | 2491 | sr->pool = r->pool; |
| 2492 | 2492 | |
| 2493 | 2493 | sr->headers_in = r->headers_in; |
| 2494 | | |
| | 2494 | if (sr->headers_in.headers.part.next == NULL) { |
| | 2495 | sr->headers_in.headers.last = &sr->headers_in.headers.part; |
| | 2496 | } |
| | 2497 | |
| 2495 | 2498 | ngx_http_clear_content_length(sr); |
| 2496 | 2499 | ngx_http_clear_accept_ranges(sr); |
| 2497 | 2500 | ngx_http_clear_last_modified(sr); |