details: http://hg.nginx.org/nginx/rev/02674312be45 branches: changeset: 5731:02674312be45 user: Maxim Dounin <mdou...@mdounin.ru> date: Thu Jun 26 02:20:05 2014 +0400 description: Upstream: removed unused offset to content_length.
It's not needed since introduction of ngx_http_upstream_content_length() in 103b0d9afe07. diffstat: src/http/ngx_http_upstream.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diffs (13 lines): 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"), _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel