comparison src/http/ngx_http_script.h @ 1891:782af1038115

length calculation did not take into account escaped symbols in arguments
author Igor Sysoev <igor@sysoev.ru>
date Tue, 12 Feb 2008 18:05:32 +0000
parents 4c43e25d11ea
children 912ce4113f21
comparison
equal deleted inserted replaced
1890:d51ea7f11bc3 1891:782af1038115
25 u_char *args; 25 u_char *args;
26 26
27 unsigned flushed:1; 27 unsigned flushed:1;
28 unsigned skip:1; 28 unsigned skip:1;
29 unsigned quote:1; 29 unsigned quote:1;
30 unsigned is_args:1;
30 unsigned log:1; 31 unsigned log:1;
31 32
32 int *captures; 33 int *captures;
33 ngx_uint_t ncaptures; 34 ngx_uint_t ncaptures;
34 35
192 void ngx_http_script_copy_code(ngx_http_script_engine_t *e); 193 void ngx_http_script_copy_code(ngx_http_script_engine_t *e);
193 size_t ngx_http_script_copy_var_len_code(ngx_http_script_engine_t *e); 194 size_t ngx_http_script_copy_var_len_code(ngx_http_script_engine_t *e);
194 void ngx_http_script_copy_var_code(ngx_http_script_engine_t *e); 195 void ngx_http_script_copy_var_code(ngx_http_script_engine_t *e);
195 size_t ngx_http_script_copy_capture_len_code(ngx_http_script_engine_t *e); 196 size_t ngx_http_script_copy_capture_len_code(ngx_http_script_engine_t *e);
196 void ngx_http_script_copy_capture_code(ngx_http_script_engine_t *e); 197 void ngx_http_script_copy_capture_code(ngx_http_script_engine_t *e);
198 size_t ngx_http_script_mark_args_code(ngx_http_script_engine_t *e);
197 void ngx_http_script_start_args_code(ngx_http_script_engine_t *e); 199 void ngx_http_script_start_args_code(ngx_http_script_engine_t *e);
198 #if (NGX_PCRE) 200 #if (NGX_PCRE)
199 void ngx_http_script_regex_start_code(ngx_http_script_engine_t *e); 201 void ngx_http_script_regex_start_code(ngx_http_script_engine_t *e);
200 void ngx_http_script_regex_end_code(ngx_http_script_engine_t *e); 202 void ngx_http_script_regex_end_code(ngx_http_script_engine_t *e);
201 #endif 203 #endif