comparison src/http/ngx_http_upstream.c @ 673:b80f94fa2197 release-0.3.58

nginx-0.3.58-RELEASE import *) Feature: the "error_page" directive supports the variables. *) Change: now the procfs interface instead of sysctl is used on Linux. *) Change: now the "Content-Type" header line is inherited from first response when the "X-Accel-Redirect" was used. *) Bugfix: the "error_page" directive did not redirect the 413 error. *) Bugfix: the trailing "?" did not remove old arguments if no new arguments were added to a rewritten URI. *) Bugfix: nginx could not run on 64-bit FreeBSD 7.0-CURRENT.
author Igor Sysoev <igor@sysoev.ru>
date Mon, 14 Aug 2006 15:09:38 +0000
parents cec32b3753ac
children e924670896ab
comparison
equal deleted inserted replaced
672:9542722efd0d 673:b80f94fa2197
108 ngx_http_upstream_copy_header_line, 0, 0 }, 108 ngx_http_upstream_copy_header_line, 0, 0 },
109 109
110 { ngx_string("Content-Type"), 110 { ngx_string("Content-Type"),
111 ngx_http_upstream_process_header_line, 111 ngx_http_upstream_process_header_line,
112 offsetof(ngx_http_upstream_headers_in_t, content_type), 112 offsetof(ngx_http_upstream_headers_in_t, content_type),
113 ngx_http_upstream_copy_content_type, 0, 0 }, 113 ngx_http_upstream_copy_content_type, 0, 1 },
114 114
115 { ngx_string("Content-Length"), 115 { ngx_string("Content-Length"),
116 ngx_http_upstream_process_header_line, 116 ngx_http_upstream_process_header_line,
117 offsetof(ngx_http_upstream_headers_in_t, content_length), 117 offsetof(ngx_http_upstream_headers_in_t, content_length),
118 ngx_http_upstream_copy_content_length, 0, 0 }, 118 ngx_http_upstream_copy_content_length, 0, 0 },