changeset 5731:02674312be45

Upstream: removed unused offset to content_length. It's not needed since introduction of ngx_http_upstream_content_length() in 103b0d9afe07.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 26 Jun 2014 02:20:05 +0400
parents c8bdde1c8c97
children d0ce06cb9be1
files src/http/ngx_http_upstream.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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_ups
                  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"),