comparison src/http/ngx_http_upstream.h @ 104:146eff53ab60 NGINX_0_2_6

nginx 0.2.6 *) Change: while using load-balancing the time before the failed backend retry was decreased from 60 to 10 seconds. *) Change: the "proxy_pass_unparsed_uri" was canceled, the original URI now passed, if the URI part is omitted in "proxy_pass" directive. *) Feature: the "error_page" directive supports redirects and allows more flexible to change an error code. *) Change: the charset in the "Content-Type" header line now is ignored in proxied subrequests. *) Bugfix: if the URI was changed in the "if" block and request did not found new configuration, then the ngx_http_rewrite_module rules ran again. *) Bugfix: if the "set" directive set the ngx_http_geo_module variable in some configuration part, the this variable was not available in other configuration parts and the "using uninitialized variable" error was occurred; bug appeared in 0.2.2.
author Igor Sysoev <http://sysoev.ru>
date Wed, 05 Oct 2005 00:00:00 +0400
parents 9db7e0b5b27f
children dad2fe8ecf08
comparison
equal deleted inserted replaced
103:acdd83ee07cb 104:146eff53ab60
68 68
69 ngx_flag_t pass_request_headers; 69 ngx_flag_t pass_request_headers;
70 ngx_flag_t pass_request_body; 70 ngx_flag_t pass_request_body;
71 71
72 ngx_flag_t redirect_errors; 72 ngx_flag_t redirect_errors;
73 ngx_flag_t pass_unparsed_uri;
74 ngx_flag_t cyclic_temp_file; 73 ngx_flag_t cyclic_temp_file;
75 74
76 ngx_flag_t pass_x_powered_by; 75 ngx_flag_t pass_x_powered_by;
77 ngx_flag_t pass_server; 76 ngx_flag_t pass_server;
78 ngx_flag_t pass_date; 77 ngx_flag_t pass_date;
162 ngx_http_log_handler_pt saved_log_handler; 161 ngx_http_log_handler_pt saved_log_handler;
163 162
164 ngx_http_upstream_state_t *state; 163 ngx_http_upstream_state_t *state;
165 ngx_array_t states; /* of ngx_http_upstream_state_t */ 164 ngx_array_t states; /* of ngx_http_upstream_state_t */
166 165
166 ngx_str_t uri;
167
167 unsigned cachable:1; 168 unsigned cachable:1;
168 unsigned accel:1; 169 unsigned accel:1;
169 170
170 unsigned request_sent:1; 171 unsigned request_sent:1;
171 unsigned header_sent:1; 172 unsigned header_sent:1;