Mercurial > hg > nginx-quic
comparison src/http/ngx_http_script.c @ 637:e60fe4cf1d4e release-0.3.40
nginx-0.3.40-RELEASE import
*) 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 <igor@sysoev.ru> |
---|---|
date | Wed, 19 Apr 2006 15:30:56 +0000 |
parents | 5d2b8078c1c2 |
children | 5e8fb59c18c1 |
comparison
equal
deleted
inserted
replaced
636:21003753acbf | 637:e60fe4cf1d4e |
---|---|
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 |