diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-04-08 15:18:55 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2005-04-08 15:18:55 +0000 |
commit | 02f742b45eb8792053d3880641f45651d645e351 (patch) | |
tree | 1d5893bcc89c8f879712aa80f9a98a42f397e2c0 /src/http/modules/ngx_http_rewrite_module.c | |
parent | 87ff72436d289ae7b72a23138262e6d156490927 (diff) | |
download | nginx-release-0.1.28.tar.gz nginx-release-0.1.28.zip |
nginx-0.1.28-RELEASE importrelease-0.1.28
*) Bugfix: nginx hogs CPU while proxying the huge files.
*) Bugfix: nginx could not be built by gcc 4.0 on Linux.
Diffstat (limited to 'src/http/modules/ngx_http_rewrite_module.c')
-rw-r--r-- | src/http/modules/ngx_http_rewrite_module.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_rewrite_module.c b/src/http/modules/ngx_http_rewrite_module.c index ed1067b9f..1da475cc8 100644 --- a/src/http/modules/ngx_http_rewrite_module.c +++ b/src/http/modules/ngx_http_rewrite_module.c @@ -1021,6 +1021,7 @@ ngx_http_rewrite(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) regex->uri = 1; regex->args = 1; regex->redirect = 0; + regex->break_cycle = 0; regex->name = value[1]; last = 0; @@ -1466,6 +1467,7 @@ ngx_http_rewrite_if_condition(ngx_conf_t *cf, ngx_http_rewrite_loc_conf_t *lcf) regex->uri = 0; regex->args = 0; regex->redirect = 0; + regex->break_cycle = 0; regex->name = value[last]; return NGX_CONF_OK; |