comparison src/http/ngx_http.h @ 464:c8cfb6c462ef NGINX_0_7_44

nginx 0.7.44 *) Feature: the ngx_http_proxy_module preliminary cache support. *) Feature: the --with-pcre option in the configure. *) Feature: the "try_files" directive is now allowed on the server block level. *) Bugfix: the "try_files" directive handled incorrectly a query string in a fallback parameter. *) Bugfix: the "try_files" directive might test incorrectly directories. *) Bugfix: if there is the single server for given address:port pair, then captures in regular expressions in a "server_name" directive did not work.
author Igor Sysoev <http://sysoev.ru>
date Mon, 23 Mar 2009 00:00:00 +0300
parents fd759445d8a8
children ed5e10fb40fc
comparison
equal deleted inserted replaced
463:51cb914e6d3a 464:c8cfb6c462ef
8 #define _NGX_HTTP_H_INCLUDED_ 8 #define _NGX_HTTP_H_INCLUDED_
9 9
10 10
11 #include <ngx_config.h> 11 #include <ngx_config.h>
12 #include <ngx_core.h> 12 #include <ngx_core.h>
13 #include <ngx_garbage_collector.h>
14 13
15 14
16 typedef struct ngx_http_request_s ngx_http_request_t; 15 typedef struct ngx_http_request_s ngx_http_request_t;
17 typedef struct ngx_http_upstream_s ngx_http_upstream_t; 16 typedef struct ngx_http_upstream_s ngx_http_upstream_t;
18 typedef struct ngx_http_log_ctx_s ngx_http_log_ctx_t; 17 typedef struct ngx_http_cache_s ngx_http_cache_t;
18 typedef struct ngx_http_file_cache_s ngx_http_file_cache_t;
19 typedef struct ngx_http_log_ctx_s ngx_http_log_ctx_t;
19 20
20 typedef ngx_int_t (*ngx_http_header_handler_pt)(ngx_http_request_t *r, 21 typedef ngx_int_t (*ngx_http_header_handler_pt)(ngx_http_request_t *r,
21 ngx_table_elt_t *h, ngx_uint_t offset); 22 ngx_table_elt_t *h, ngx_uint_t offset);
22 typedef u_char *(*ngx_http_log_handler_pt)(ngx_http_request_t *r, 23 typedef u_char *(*ngx_http_log_handler_pt)(ngx_http_request_t *r,
23 ngx_http_request_t *sr, u_char *buf, size_t len); 24 ngx_http_request_t *sr, u_char *buf, size_t len);
24 25
25 26
26 #if (NGX_HTTP_CACHE)
27 #include <ngx_http_cache.h>
28 #endif
29 /* STUB */
30 #include <ngx_http_cache.h>
31
32 #include <ngx_http_variables.h> 27 #include <ngx_http_variables.h>
33 #include <ngx_http_request.h> 28 #include <ngx_http_request.h>
34 #include <ngx_http_upstream.h> 29 #include <ngx_http_upstream.h>
35 #include <ngx_http_upstream_round_robin.h> 30 #include <ngx_http_upstream_round_robin.h>
36 #include <ngx_http_config.h> 31 #include <ngx_http_config.h>
37 #include <ngx_http_busy_lock.h> 32 #include <ngx_http_busy_lock.h>
33 #include <ngx_http_script.h>
38 #include <ngx_http_core_module.h> 34 #include <ngx_http_core_module.h>
39 #include <ngx_http_script.h>
40 35
36 #if (NGX_HTTP_CACHE)
37 #include <ngx_http_cache.h>
38 #endif
41 #if (NGX_HTTP_SSI) 39 #if (NGX_HTTP_SSI)
42 #include <ngx_http_ssi_filter_module.h> 40 #include <ngx_http_ssi_filter_module.h>
43 #endif 41 #endif
44 #if (NGX_HTTP_SSL) 42 #if (NGX_HTTP_SSL)
45 #include <ngx_http_ssl_module.h> 43 #include <ngx_http_ssl_module.h>
76 ngx_uint_t allow_underscores); 74 ngx_uint_t allow_underscores);
77 ngx_int_t ngx_http_parse_multi_header_lines(ngx_array_t *headers, 75 ngx_int_t ngx_http_parse_multi_header_lines(ngx_array_t *headers,
78 ngx_str_t *name, ngx_str_t *value); 76 ngx_str_t *name, ngx_str_t *value);
79 ngx_int_t ngx_http_arg(ngx_http_request_t *r, u_char *name, size_t len, 77 ngx_int_t ngx_http_arg(ngx_http_request_t *r, u_char *name, size_t len,
80 ngx_str_t *value); 78 ngx_str_t *value);
79 void ngx_http_split_args(ngx_http_request_t *r, ngx_str_t *uri,
80 ngx_str_t *args);
81 81
82 82
83 ngx_int_t ngx_http_find_server_conf(ngx_http_request_t *r); 83 ngx_int_t ngx_http_find_server_conf(ngx_http_request_t *r);
84 void ngx_http_update_location_config(ngx_http_request_t *r); 84 void ngx_http_update_location_config(ngx_http_request_t *r);
85 void ngx_http_handler(ngx_http_request_t *r); 85 void ngx_http_handler(ngx_http_request_t *r);