comparison src/http/modules/ngx_http_rewrite_module.c @ 56:3050baa54a26 NGINX_0_1_28

nginx 0.1.28 *) Bugfix: nginx hogs CPU while proxying the huge files. *) Bugfix: nginx could not be built by gcc 4.0 on Linux.
author Igor Sysoev <http://sysoev.ru>
date Fri, 08 Apr 2005 00:00:00 +0400
parents bcb5fce0b038
children b55cbf18157e
comparison
equal deleted inserted replaced
55:729de7d75018 56:3050baa54a26
1019 regex->status = 0; 1019 regex->status = 0;
1020 regex->test = 0; 1020 regex->test = 0;
1021 regex->uri = 1; 1021 regex->uri = 1;
1022 regex->args = 1; 1022 regex->args = 1;
1023 regex->redirect = 0; 1023 regex->redirect = 0;
1024 regex->break_cycle = 0;
1024 regex->name = value[1]; 1025 regex->name = value[1];
1025 1026
1026 last = 0; 1027 last = 0;
1027 1028
1028 if (ngx_strncmp(value[2].data, "http://", sizeof("http://") - 1) == 0) { 1029 if (ngx_strncmp(value[2].data, "http://", sizeof("http://") - 1) == 0) {
1464 regex->next = sizeof(ngx_http_rewrite_regex_code_t); 1465 regex->next = sizeof(ngx_http_rewrite_regex_code_t);
1465 regex->test = 1; 1466 regex->test = 1;
1466 regex->uri = 0; 1467 regex->uri = 0;
1467 regex->args = 0; 1468 regex->args = 0;
1468 regex->redirect = 0; 1469 regex->redirect = 0;
1470 regex->break_cycle = 0;
1469 regex->name = value[last]; 1471 regex->name = value[last];
1470 1472
1471 return NGX_CONF_OK; 1473 return NGX_CONF_OK;
1472 } 1474 }
1473 1475