commit | c28d6325958a7d42849466054798ee01f31d8330 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Tue Jul 14 08:38:28 2009 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Tue Jul 14 08:38:28 2009 +0000 |
tree | 9a03ba3f669a0570158d0e50b3fd347e8a1fa204 | |
parent | 1d03cd6676331c269f5b5510b62fe6533ba09964 [diff] [blame] |
ngx_http_set_exten() is always successful since 0.3.46
diff --git a/src/http/ngx_http_script.c b/src/http/ngx_http_script.c index dbe6c34..ad9d88b 100644 --- a/src/http/ngx_http_script.c +++ b/src/http/ngx_http_script.c
@@ -1074,11 +1074,7 @@ return; } - if (ngx_http_set_exten(r) != NGX_OK) { - e->ip = ngx_http_script_exit; - e->status = NGX_HTTP_INTERNAL_SERVER_ERROR; - return; - } + ngx_http_set_exten(r); } e->ip += sizeof(ngx_http_script_regex_end_code_t);