comparison src/http/ngx_http_script.c @ 186:54aabf2b0bc6 NGINX_0_3_40

nginx 0.3.40 *) Feature: the ngx_http_dav_module supports the MKCOL method. *) Feature: the "create_full_put_path" directive. *) Feature: the "$limit_rate" variable.
author Igor Sysoev <http://sysoev.ru>
date Wed, 19 Apr 2006 00:00:00 +0400
parents 4cd3e70c4d60
children 3689cd4e3228
comparison
equal deleted inserted replaced
185:a9c5dc369ffe 186:54aabf2b0bc6
1072 r->variables[code->index].data = e->sp->data; 1072 r->variables[code->index].data = e->sp->data;
1073 } 1073 }
1074 1074
1075 1075
1076 void 1076 void
1077 ngx_http_script_var_set_handler_code(ngx_http_script_engine_t *e)
1078 {
1079 ngx_http_script_var_handler_code_t *code;
1080
1081 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0,
1082 "http script set var handler");
1083
1084 code = (ngx_http_script_var_handler_code_t *) e->ip;
1085
1086 e->ip += sizeof(ngx_http_script_var_handler_code_t);
1087
1088 e->sp--;
1089
1090 code->handler(e->request, e->sp, code->data);
1091 }
1092
1093
1094 void
1077 ngx_http_script_var_code(ngx_http_script_engine_t *e) 1095 ngx_http_script_var_code(ngx_http_script_engine_t *e)
1078 { 1096 {
1079 ngx_http_variable_value_t *value; 1097 ngx_http_variable_value_t *value;
1080 ngx_http_script_var_code_t *code; 1098 ngx_http_script_var_code_t *code;
1081 1099