comparison src/http/ngx_http_upstream.c @ 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
comparison
equal deleted inserted replaced
5730:c8bdde1c8c97 5731:02674312be45
172 ngx_http_upstream_process_header_line, 172 ngx_http_upstream_process_header_line,
173 offsetof(ngx_http_upstream_headers_in_t, content_type), 173 offsetof(ngx_http_upstream_headers_in_t, content_type),
174 ngx_http_upstream_copy_content_type, 0, 1 }, 174 ngx_http_upstream_copy_content_type, 0, 1 },
175 175
176 { ngx_string("Content-Length"), 176 { ngx_string("Content-Length"),
177 ngx_http_upstream_process_content_length, 177 ngx_http_upstream_process_content_length, 0,
178 offsetof(ngx_http_upstream_headers_in_t, content_length),
179 ngx_http_upstream_ignore_header_line, 0, 0 }, 178 ngx_http_upstream_ignore_header_line, 0, 0 },
180 179
181 { ngx_string("Date"), 180 { ngx_string("Date"),
182 ngx_http_upstream_process_header_line, 181 ngx_http_upstream_process_header_line,
183 offsetof(ngx_http_upstream_headers_in_t, date), 182 offsetof(ngx_http_upstream_headers_in_t, date),