comparison src/http/ngx_http_script.h @ 517:dadfa78d2270 release-0.1.33

nginx-0.1.33-RELEASE import *) Bugfix: nginx could not be built with the --without-pcre parameter; the bug had appeared in 0.1.29. *) Bugfix: 3, 4, 7, and 8 the "proxy_set_header" directives in one level cause the bus fault on start up. *) Bugfix: the HTTP protocol was specified in the HTTPS redirects. *) Bugfix: if the "rewrite" directive used the captures inside the "if" directive, then the 500 error code was returned.
author Igor Sysoev <igor@sysoev.ru>
date Mon, 23 May 2005 12:07:45 +0000
parents 417a087c9c4d
children 7fa11e5c6e96
comparison
equal deleted inserted replaced
516:ea9642a65514 517:dadfa78d2270
77 ngx_http_script_code_pt code; 77 ngx_http_script_code_pt code;
78 uintptr_t n; 78 uintptr_t n;
79 } ngx_http_script_copy_capture_code_t; 79 } ngx_http_script_copy_capture_code_t;
80 80
81 81
82 #if (NGX_PCRE)
83
82 typedef struct { 84 typedef struct {
83 ngx_http_script_code_pt code; 85 ngx_http_script_code_pt code;
84 ngx_regex_t *regex; 86 ngx_regex_t *regex;
85 ngx_array_t *lengths; 87 ngx_array_t *lengths;
86 uintptr_t size; 88 uintptr_t size;
111 /* add the r->args to the new arguments */ 113 /* add the r->args to the new arguments */
112 uintptr_t add_args:1; 114 uintptr_t add_args:1;
113 115
114 uintptr_t redirect:1; 116 uintptr_t redirect:1;
115 } ngx_http_script_regex_end_code_t; 117 } ngx_http_script_regex_end_code_t;
118
119 #endif
116 120
117 121
118 typedef struct { 122 typedef struct {
119 ngx_http_script_code_pt code; 123 ngx_http_script_code_pt code;
120 uintptr_t status; 124 uintptr_t status;
154 void ngx_http_script_copy_code(ngx_http_script_engine_t *e); 158 void ngx_http_script_copy_code(ngx_http_script_engine_t *e);
155 size_t ngx_http_script_copy_var_len_code(ngx_http_script_engine_t *e); 159 size_t ngx_http_script_copy_var_len_code(ngx_http_script_engine_t *e);
156 void ngx_http_script_copy_var_code(ngx_http_script_engine_t *e); 160 void ngx_http_script_copy_var_code(ngx_http_script_engine_t *e);
157 size_t ngx_http_script_copy_capture_len_code(ngx_http_script_engine_t *e); 161 size_t ngx_http_script_copy_capture_len_code(ngx_http_script_engine_t *e);
158 void ngx_http_script_copy_capture_code(ngx_http_script_engine_t *e); 162 void ngx_http_script_copy_capture_code(ngx_http_script_engine_t *e);
163 void ngx_http_script_start_args_code(ngx_http_script_engine_t *e);
164 #if (NGX_PCRE)
159 void ngx_http_script_regex_start_code(ngx_http_script_engine_t *e); 165 void ngx_http_script_regex_start_code(ngx_http_script_engine_t *e);
160 void ngx_http_script_regex_end_code(ngx_http_script_engine_t *e); 166 void ngx_http_script_regex_end_code(ngx_http_script_engine_t *e);
161 void ngx_http_script_copy_capture_code(ngx_http_script_engine_t *e); 167 #endif
162 void ngx_http_script_start_args_code(ngx_http_script_engine_t *e);
163 void ngx_http_script_return_code(ngx_http_script_engine_t *e); 168 void ngx_http_script_return_code(ngx_http_script_engine_t *e);
164 void ngx_http_script_if_code(ngx_http_script_engine_t *e); 169 void ngx_http_script_if_code(ngx_http_script_engine_t *e);
165 void ngx_http_script_complex_value_code(ngx_http_script_engine_t *e); 170 void ngx_http_script_complex_value_code(ngx_http_script_engine_t *e);
166 void ngx_http_script_value_code(ngx_http_script_engine_t *e); 171 void ngx_http_script_value_code(ngx_http_script_engine_t *e);
167 void ngx_http_script_set_var_code(ngx_http_script_engine_t *e); 172 void ngx_http_script_set_var_code(ngx_http_script_engine_t *e);