diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2014-06-26 02:20:05 +0400 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2014-06-26 02:20:05 +0400 |
commit | 6c25c848cb2a68eac42b011f33ba9cc186625c50 (patch) | |
tree | 052c33eaf7f8ebca869e82fd9f93abce1141c269 /src | |
parent | 4e275cc73a402e7508309a6612c774d21dffc88e (diff) | |
download | nginx-6c25c848cb2a68eac42b011f33ba9cc186625c50.tar.gz nginx-6c25c848cb2a68eac42b011f33ba9cc186625c50.zip |
Upstream: removed unused offset to content_length.
It's not needed since introduction of ngx_http_upstream_content_length()
in 103b0d9afe07.
Diffstat (limited to 'src')
-rw-r--r-- | src/http/ngx_http_upstream.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index 4a4af7321..05766640b 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -174,8 +174,7 @@ ngx_http_upstream_header_t ngx_http_upstream_headers_in[] = { ngx_http_upstream_copy_content_type, 0, 1 }, { ngx_string("Content-Length"), - ngx_http_upstream_process_content_length, - offsetof(ngx_http_upstream_headers_in_t, content_length), + ngx_http_upstream_process_content_length, 0, ngx_http_upstream_ignore_header_line, 0, 0 }, { ngx_string("Date"), |