Mercurial > hg > nginx-quic
comparison src/http/ngx_http.h @ 665:5fd7a5e99047 release-0.3.54
nginx-0.3.54-RELEASE import
*) 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; the bug had
appeared in 0.3.53.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 11 Jul 2006 13:20:19 +0000 |
parents | 9262f520ce21 |
children | 63a820b0bc6c |
comparison
equal
deleted
inserted
replaced
664:db08f60f873f | 665:5fd7a5e99047 |
---|---|
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) \ |