comparison src/http/ngx_http.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 36af50a5582d
children fa32d59d9a15
comparison
equal deleted inserted replaced
213:405beeeadf7f 214:0ad9eeb6ac7f
17 typedef struct ngx_http_upstream_s ngx_http_upstream_t; 17 typedef struct ngx_http_upstream_s ngx_http_upstream_t;
18 typedef struct ngx_http_log_ctx_s ngx_http_log_ctx_t; 18 typedef struct ngx_http_log_ctx_s ngx_http_log_ctx_t;
19 19
20 typedef ngx_int_t (*ngx_http_header_handler_pt)(ngx_http_request_t *r, 20 typedef ngx_int_t (*ngx_http_header_handler_pt)(ngx_http_request_t *r,
21 ngx_table_elt_t *h, ngx_uint_t offset); 21 ngx_table_elt_t *h, ngx_uint_t offset);
22 typedef u_char *(*ngx_http_log_handler_pt)(ngx_http_request_t *r, u_char *buf, 22 typedef u_char *(*ngx_http_log_handler_pt)(ngx_http_request_t *r,
23 size_t len); 23 ngx_http_request_t *sr, u_char *buf, size_t len);
24 24
25 25
26 #if (NGX_HTTP_CACHE) 26 #if (NGX_HTTP_CACHE)
27 #include <ngx_http_cache.h> 27 #include <ngx_http_cache.h>
28 #endif 28 #endif
47 47
48 48
49 struct ngx_http_log_ctx_s { 49 struct ngx_http_log_ctx_s {
50 ngx_str_t *client; 50 ngx_str_t *client;
51 ngx_http_request_t *request; 51 ngx_http_request_t *request;
52 ngx_http_request_t *current_request;
52 }; 53 };
53 54
54 55
55 #define ngx_http_get_module_ctx(r, module) (r)->ctx[module.ctx_index] 56 #define ngx_http_get_module_ctx(r, module) (r)->ctx[module.ctx_index]
56 #define ngx_http_get_module_err_ctx(r, module) \ 57 #define ngx_http_get_module_err_ctx(r, module) \