# HG changeset patch # User Maxim Dounin # Date 1403734805 -14400 # Node ID 02674312be45e9ead0e82a65049430f2d6f19728 # Parent c8bdde1c8c97936c3332d75334c539ab4a265dce Upstream: removed unused offset to content_length. It's not needed since introduction of ngx_http_upstream_content_length() in 103b0d9afe07. diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c --- 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"),