Mercurial > hg > nginx
comparison src/http/ngx_http_script.c @ 2979:b941147f2b2e
ngx_http_set_exten() is always successful since 0.3.46
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 14 Jul 2009 08:38:28 +0000 |
parents | 32b444fa2ca4 |
children | a7637c2c1157 |
comparison
equal
deleted
inserted
replaced
2978:e36053e70fce | 2979:b941147f2b2e |
---|---|
1072 e->ip = ngx_http_script_exit; | 1072 e->ip = ngx_http_script_exit; |
1073 e->status = NGX_HTTP_INTERNAL_SERVER_ERROR; | 1073 e->status = NGX_HTTP_INTERNAL_SERVER_ERROR; |
1074 return; | 1074 return; |
1075 } | 1075 } |
1076 | 1076 |
1077 if (ngx_http_set_exten(r) != NGX_OK) { | 1077 ngx_http_set_exten(r); |
1078 e->ip = ngx_http_script_exit; | |
1079 e->status = NGX_HTTP_INTERNAL_SERVER_ERROR; | |
1080 return; | |
1081 } | |
1082 } | 1078 } |
1083 | 1079 |
1084 e->ip += sizeof(ngx_http_script_regex_end_code_t); | 1080 e->ip += sizeof(ngx_http_script_regex_end_code_t); |
1085 } | 1081 } |
1086 | 1082 |