comparison src/http/ngx_http_upstream.h @ 296:2ceaee987f37 NGINX_0_5_18

nginx 0.5.18 *) Feature: the ngx_http_sub_filter_module. *) Feature: the "$upstream_http_..." variables. *) Feature: now the $upstream_status and $upstream_response_time variables keep data about all upstreams before X-Accel-Redirect. *) Bugfix: a segmentation fault occurred in master process after first reconfiguration and receiving any signal if nginx was built with ngx_http_perl_module and perl did not support multiplicity; bug appeared in 0.5.9. *) Bugfix: if perl did not support multiplicity, then after reconfiguration perl code did not work; bug appeared in 0.3.38.
author Igor Sysoev <http://sysoev.ru>
date Thu, 19 Apr 2007 00:00:00 +0400
parents 251bcd11a5b8
children fc223117327f
comparison
equal deleted inserted replaced
295:65b7ac8795e3 296:2ceaee987f37
230 ngx_msec_t timeout; 230 ngx_msec_t timeout;
231 231
232 ngx_str_t method; 232 ngx_str_t method;
233 233
234 ngx_http_upstream_state_t *state; 234 ngx_http_upstream_state_t *state;
235 ngx_array_t states; /* of ngx_http_upstream_state_t */
236 235
237 ngx_str_t uri; 236 ngx_str_t uri;
238 237
239 ngx_http_cleanup_pt *cleanup; 238 ngx_http_cleanup_pt *cleanup;
240 239
246 unsigned request_sent:1; 245 unsigned request_sent:1;
247 unsigned header_sent:1; 246 unsigned header_sent:1;
248 }; 247 };
249 248
250 249
250 ngx_int_t ngx_http_upstream_header_variable(ngx_http_request_t *r,
251 ngx_http_variable_value_t *v, uintptr_t data);
252
251 void ngx_http_upstream_init(ngx_http_request_t *r); 253 void ngx_http_upstream_init(ngx_http_request_t *r);
252 ngx_http_upstream_srv_conf_t *ngx_http_upstream_add(ngx_conf_t *cf, 254 ngx_http_upstream_srv_conf_t *ngx_http_upstream_add(ngx_conf_t *cf,
253 ngx_url_t *u, ngx_uint_t flags); 255 ngx_url_t *u, ngx_uint_t flags);
254 256
255 257