comparison src/http/modules/ngx_http_fastcgi_module.c @ 378:820f6378fc00 NGINX_0_7_1

nginx 0.7.1 *) Change: now locations are searched in a tree. *) Change: the "optimize_server_names" directive was canceled due to the "server_name_in_redirect" directive introduction. *) Change: some long deprecated directives are not supported anymore. *) Change: the "none" parameter in the "ssl_session_cache" directive; now this is default parameter. Thanks to Rob Mueller. *) Bugfix: worker processes might not catch reconfiguration and log rotation signals. *) Bugfix: nginx could not be built on latest Fedora 9 Linux. Thanks to Roxis.
author Igor Sysoev <http://sysoev.ru>
date Mon, 26 May 2008 00:00:00 +0400
parents 67fa3851697b
children 984bb0b1399b
comparison
equal deleted inserted replaced
377:5d98007adb5f 378:820f6378fc00
136 136
137 137
138 static ngx_conf_post_t ngx_http_fastcgi_lowat_post = 138 static ngx_conf_post_t ngx_http_fastcgi_lowat_post =
139 { ngx_http_fastcgi_lowat_check }; 139 { ngx_http_fastcgi_lowat_check };
140 140
141 static ngx_conf_deprecated_t ngx_conf_deprecated_fastcgi_header_buffer_size = {
142 ngx_conf_deprecated, "fastcgi_header_buffer_size", "fastcgi_buffer_size"
143 };
144
145 static ngx_conf_deprecated_t ngx_conf_deprecated_fastcgi_redirect_errors = {
146 ngx_conf_deprecated, "fastcgi_redirect_errors", "fastcgi_intercept_errors"
147 };
148
149 141
150 static ngx_conf_bitmask_t ngx_http_fastcgi_next_upstream_masks[] = { 142 static ngx_conf_bitmask_t ngx_http_fastcgi_next_upstream_masks[] = {
151 { ngx_string("error"), NGX_HTTP_UPSTREAM_FT_ERROR }, 143 { ngx_string("error"), NGX_HTTP_UPSTREAM_FT_ERROR },
152 { ngx_string("timeout"), NGX_HTTP_UPSTREAM_FT_TIMEOUT }, 144 { ngx_string("timeout"), NGX_HTTP_UPSTREAM_FT_TIMEOUT },
153 { ngx_string("invalid_header"), NGX_HTTP_UPSTREAM_FT_INVALID_HEADER }, 145 { ngx_string("invalid_header"), NGX_HTTP_UPSTREAM_FT_INVALID_HEADER },
222 ngx_conf_set_size_slot, 214 ngx_conf_set_size_slot,
223 NGX_HTTP_LOC_CONF_OFFSET, 215 NGX_HTTP_LOC_CONF_OFFSET,
224 offsetof(ngx_http_fastcgi_loc_conf_t, upstream.buffer_size), 216 offsetof(ngx_http_fastcgi_loc_conf_t, upstream.buffer_size),
225 NULL }, 217 NULL },
226 218
227 { ngx_string("fastcgi_header_buffer_size"),
228 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
229 ngx_conf_set_size_slot,
230 NGX_HTTP_LOC_CONF_OFFSET,
231 offsetof(ngx_http_fastcgi_loc_conf_t, upstream.buffer_size),
232 &ngx_conf_deprecated_fastcgi_header_buffer_size },
233
234 { ngx_string("fastcgi_pass_request_headers"), 219 { ngx_string("fastcgi_pass_request_headers"),
235 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, 220 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG,
236 ngx_conf_set_flag_slot, 221 ngx_conf_set_flag_slot,
237 NGX_HTTP_LOC_CONF_OFFSET, 222 NGX_HTTP_LOC_CONF_OFFSET,
238 offsetof(ngx_http_fastcgi_loc_conf_t, upstream.pass_request_headers), 223 offsetof(ngx_http_fastcgi_loc_conf_t, upstream.pass_request_headers),
249 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, 234 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG,
250 ngx_conf_set_flag_slot, 235 ngx_conf_set_flag_slot,
251 NGX_HTTP_LOC_CONF_OFFSET, 236 NGX_HTTP_LOC_CONF_OFFSET,
252 offsetof(ngx_http_fastcgi_loc_conf_t, upstream.intercept_errors), 237 offsetof(ngx_http_fastcgi_loc_conf_t, upstream.intercept_errors),
253 NULL }, 238 NULL },
254
255 { ngx_string("fastcgi_redirect_errors"),
256 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG,
257 ngx_conf_set_flag_slot,
258 NGX_HTTP_LOC_CONF_OFFSET,
259 offsetof(ngx_http_fastcgi_loc_conf_t, upstream.intercept_errors),
260 &ngx_conf_deprecated_fastcgi_redirect_errors },
261 239
262 { ngx_string("fastcgi_read_timeout"), 240 { ngx_string("fastcgi_read_timeout"),
263 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, 241 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
264 ngx_conf_set_msec_slot, 242 ngx_conf_set_msec_slot,
265 NGX_HTTP_LOC_CONF_OFFSET, 243 NGX_HTTP_LOC_CONF_OFFSET,