Mercurial > hg > nginx
comparison src/http/modules/ngx_http_fastcgi_module.c @ 1883:09dfe92b9414
fix order
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 07 Feb 2008 10:43:45 +0000 |
parents | 40d004d95d88 |
children | 7756b1085119 |
comparison
equal
deleted
inserted
replaced
1882:4ca7c40af923 | 1883:09dfe92b9414 |
---|---|
131 | 131 |
132 static char *ngx_http_fastcgi_upstream_max_fails_unsupported(ngx_conf_t *cf, | 132 static char *ngx_http_fastcgi_upstream_max_fails_unsupported(ngx_conf_t *cf, |
133 ngx_command_t *cmd, void *conf); | 133 ngx_command_t *cmd, void *conf); |
134 static char *ngx_http_fastcgi_upstream_fail_timeout_unsupported(ngx_conf_t *cf, | 134 static char *ngx_http_fastcgi_upstream_fail_timeout_unsupported(ngx_conf_t *cf, |
135 ngx_command_t *cmd, void *conf); | 135 ngx_command_t *cmd, void *conf); |
136 | |
137 | |
138 static ngx_http_fastcgi_request_start_t ngx_http_fastcgi_request_start = { | |
139 { 1, /* version */ | |
140 NGX_HTTP_FASTCGI_BEGIN_REQUEST, /* type */ | |
141 0, /* request_id_hi */ | |
142 1, /* request_id_lo */ | |
143 0, /* content_length_hi */ | |
144 sizeof(ngx_http_fastcgi_begin_request_t), /* content_length_lo */ | |
145 0, /* padding_length */ | |
146 0 }, /* reserved */ | |
147 | |
148 { 0, /* role_hi */ | |
149 NGX_HTTP_FASTCGI_RESPONDER, /* role_lo */ | |
150 0, /* NGX_HTTP_FASTCGI_KEEP_CONN */ /* flags */ | |
151 { 0, 0, 0, 0, 0 } }, /* reserved[5] */ | |
152 | |
153 { 1, /* version */ | |
154 NGX_HTTP_FASTCGI_PARAMS, /* type */ | |
155 0, /* request_id_hi */ | |
156 1 }, /* request_id_lo */ | |
157 | |
158 }; | |
159 | 136 |
160 | 137 |
161 static ngx_str_t ngx_http_fastcgi_script_name = | 138 static ngx_str_t ngx_http_fastcgi_script_name = |
162 ngx_string("fastcgi_script_name"); | 139 ngx_string("fastcgi_script_name"); |
163 | 140 |
407 NULL, /* init thread */ | 384 NULL, /* init thread */ |
408 NULL, /* exit thread */ | 385 NULL, /* exit thread */ |
409 NULL, /* exit process */ | 386 NULL, /* exit process */ |
410 NULL, /* exit master */ | 387 NULL, /* exit master */ |
411 NGX_MODULE_V1_PADDING | 388 NGX_MODULE_V1_PADDING |
389 }; | |
390 | |
391 | |
392 static ngx_http_fastcgi_request_start_t ngx_http_fastcgi_request_start = { | |
393 { 1, /* version */ | |
394 NGX_HTTP_FASTCGI_BEGIN_REQUEST, /* type */ | |
395 0, /* request_id_hi */ | |
396 1, /* request_id_lo */ | |
397 0, /* content_length_hi */ | |
398 sizeof(ngx_http_fastcgi_begin_request_t), /* content_length_lo */ | |
399 0, /* padding_length */ | |
400 0 }, /* reserved */ | |
401 | |
402 { 0, /* role_hi */ | |
403 NGX_HTTP_FASTCGI_RESPONDER, /* role_lo */ | |
404 0, /* NGX_HTTP_FASTCGI_KEEP_CONN */ /* flags */ | |
405 { 0, 0, 0, 0, 0 } }, /* reserved[5] */ | |
406 | |
407 { 1, /* version */ | |
408 NGX_HTTP_FASTCGI_PARAMS, /* type */ | |
409 0, /* request_id_hi */ | |
410 1 }, /* request_id_lo */ | |
411 | |
412 }; | 412 }; |
413 | 413 |
414 | 414 |
415 static ngx_str_t ngx_http_fastcgi_hide_headers[] = { | 415 static ngx_str_t ngx_http_fastcgi_hide_headers[] = { |
416 ngx_string("Status"), | 416 ngx_string("Status"), |