comparison src/http/ngx_http_upstream.h @ 214:0ad9eeb6ac7f NGINX_0_3_54

nginx 0.3.54 *) Feature: nginx now logs the subrequest information to the error log. *) Feature: the "proxy_next_upstream", "fastcgi_next_upstream", and "memcached_next_upstream" directives support the "off" parameter. *) Feature: the "debug_connection" directive supports the CIDR address form. *) Bugfix: if a response of proxied server or FastCGI server was converted from UTF-8 or back, then it may be transferred incomplete. *) Bugfix: the $upstream_response_time variable had the time of the first request to a backend only. *) Bugfix: nginx could not be built on amd64 platform; bug appeared in 0.3.53.
author Igor Sysoev <http://sysoev.ru>
date Tue, 11 Jul 2006 00:00:00 +0400
parents 56688ed172c8
children 9909a161eb28
comparison
equal deleted inserted replaced
213:405beeeadf7f 214:0ad9eeb6ac7f
14 #include <ngx_event_connect.h> 14 #include <ngx_event_connect.h>
15 #include <ngx_event_pipe.h> 15 #include <ngx_event_pipe.h>
16 #include <ngx_http.h> 16 #include <ngx_http.h>
17 17
18 18
19 #define NGX_HTTP_UPSTREAM_FT_ERROR 0x002 19 #define NGX_HTTP_UPSTREAM_FT_ERROR 0x00000002
20 #define NGX_HTTP_UPSTREAM_FT_TIMEOUT 0x004 20 #define NGX_HTTP_UPSTREAM_FT_TIMEOUT 0x00000004
21 #define NGX_HTTP_UPSTREAM_FT_INVALID_HEADER 0x008 21 #define NGX_HTTP_UPSTREAM_FT_INVALID_HEADER 0x00000008
22 #define NGX_HTTP_UPSTREAM_FT_HTTP_500 0x010 22 #define NGX_HTTP_UPSTREAM_FT_HTTP_500 0x00000010
23 #define NGX_HTTP_UPSTREAM_FT_HTTP_503 0x020 23 #define NGX_HTTP_UPSTREAM_FT_HTTP_503 0x00000020
24 #define NGX_HTTP_UPSTREAM_FT_HTTP_404 0x040 24 #define NGX_HTTP_UPSTREAM_FT_HTTP_404 0x00000040
25 #define NGX_HTTP_UPSTREAM_FT_BUSY_LOCK 0x080 25 #define NGX_HTTP_UPSTREAM_FT_BUSY_LOCK 0x00000080
26 #define NGX_HTTP_UPSTREAM_FT_MAX_WAITING 0x100 26 #define NGX_HTTP_UPSTREAM_FT_MAX_WAITING 0x00000100
27 #define NGX_HTTP_UPSTREAM_FT_OFF 0x80000000
27 28
28 29
29 #define NGX_HTTP_UPSTREAM_INVALID_HEADER 40 30 #define NGX_HTTP_UPSTREAM_INVALID_HEADER 40
30 31
31 32
191 192
192 ngx_msec_t timeout; 193 ngx_msec_t timeout;
193 194
194 ngx_str_t method; 195 ngx_str_t method;
195 196
196 ngx_http_log_handler_pt saved_log_handler;
197
198 ngx_http_upstream_state_t *state; 197 ngx_http_upstream_state_t *state;
199 ngx_array_t states; /* of ngx_http_upstream_state_t */ 198 ngx_array_t states; /* of ngx_http_upstream_state_t */
200 199
201 ngx_str_t uri; 200 ngx_str_t uri;
202 201