comparison src/http/ngx_http_core_module.h @ 324:f7cd062ee035 NGINX_0_6_6

nginx 0.6.6 *) Feature: the --sysconfdir=PATH option in configure. *) Feature: named locations. *) Feature: the $args variable can be set with the "set" directive. *) Feature: the $is_args variable. *) Bugfix: fair big weight upstream balancer. *) Bugfix: if a client has closed connection to mail proxy then nginx might not close connection to backend. *) Bugfix: if the same host without specified port was used as backend for HTTP and HTTPS, then nginx used only one port - 80 or 443. *) Bugfix: fix building on Solaris/amd64 by Sun Studio 11 and early versions; bug appeared in 0.6.4.
author Igor Sysoev <http://sysoev.ru>
date Mon, 30 Jul 2007 00:00:00 +0400
parents 429900ca25ee
children 9fc4ab6673f9
comparison
equal deleted inserted replaced
323:7e977a664d91 324:f7cd062ee035
77 77
78 78
79 typedef struct { 79 typedef struct {
80 ngx_http_phase_handler_t *handlers; 80 ngx_http_phase_handler_t *handlers;
81 ngx_uint_t server_rewrite_index; 81 ngx_uint_t server_rewrite_index;
82 ngx_uint_t location_rewrite_index;
82 } ngx_http_phase_engine_t; 83 } ngx_http_phase_engine_t;
83 84
84 85
85 typedef struct { 86 typedef struct {
86 ngx_array_t handlers; 87 ngx_array_t handlers;
115 * array of the ngx_http_core_loc_conf_t *, 116 * array of the ngx_http_core_loc_conf_t *,
116 * used in the ngx_http_core_find_location() and in the merge phase 117 * used in the ngx_http_core_find_location() and in the merge phase
117 */ 118 */
118 ngx_array_t locations; 119 ngx_array_t locations;
119 120
120 unsigned regex_start:16; 121 unsigned regex_start:15;
122 unsigned named_start:15;
121 unsigned wildcard:1; 123 unsigned wildcard:1;
122 124
123 /* array of the ngx_http_listen_t, "listen" directive */ 125 /* array of the ngx_http_listen_t, "listen" directive */
124 ngx_array_t listen; 126 ngx_array_t listen;
125 127
210 212
211 #if (NGX_PCRE) 213 #if (NGX_PCRE)
212 ngx_regex_t *regex; 214 ngx_regex_t *regex;
213 #endif 215 #endif
214 216
215 unsigned regex_start:16; 217 unsigned regex_start:15;
216 218
217 unsigned noname:1; /* "if () {}" block */ 219 unsigned noname:1; /* "if () {}" block or limit_except */
220 unsigned named:1;
218 221
219 unsigned exact_match:1; 222 unsigned exact_match:1;
220 unsigned noregex:1; 223 unsigned noregex:1;
221 224
222 unsigned auto_redirect:1; 225 unsigned auto_redirect:1;
312 ngx_int_t ngx_http_subrequest(ngx_http_request_t *r, 315 ngx_int_t ngx_http_subrequest(ngx_http_request_t *r,
313 ngx_str_t *uri, ngx_str_t *args, ngx_http_request_t **sr, 316 ngx_str_t *uri, ngx_str_t *args, ngx_http_request_t **sr,
314 ngx_http_post_subrequest_t *psr, ngx_uint_t flags); 317 ngx_http_post_subrequest_t *psr, ngx_uint_t flags);
315 ngx_int_t ngx_http_internal_redirect(ngx_http_request_t *r, 318 ngx_int_t ngx_http_internal_redirect(ngx_http_request_t *r,
316 ngx_str_t *uri, ngx_str_t *args); 319 ngx_str_t *uri, ngx_str_t *args);
320 ngx_int_t ngx_http_named_location(ngx_http_request_t *r, ngx_str_t *name);
321
317 322
318 ngx_http_cleanup_t *ngx_http_cleanup_add(ngx_http_request_t *r, size_t size); 323 ngx_http_cleanup_t *ngx_http_cleanup_add(ngx_http_request_t *r, size_t size);
319 324
320 325
321 typedef ngx_int_t (*ngx_http_output_header_filter_pt)(ngx_http_request_t *r); 326 typedef ngx_int_t (*ngx_http_output_header_filter_pt)(ngx_http_request_t *r);