Mercurial > hg > nginx
comparison src/http/modules/ngx_http_proxy_module.c @ 515:417a087c9c4d release-0.1.32
nginx-0.1.32-RELEASE import
*) Bugfix: the arguments were omitted in the redirects, issued by the
"rewrite" directive; the bug had appeared in 0.1.29.
*) Feature: the "if" directive supports the captures in regular
expressions.
*) Feature: the "set" directive supports the variables and the captures
of regular expressions.
*) Feature: the "X-Accel-Redirect" response header line is supported in
proxy and FastCGI mode.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 19 May 2005 13:25:22 +0000 |
parents | 9b8c906f6e63 |
children | dadfa78d2270 |
comparison
equal
deleted
inserted
replaced
514:88d593732655 | 515:417a087c9c4d |
---|---|
540 | 540 |
541 le.ip = plcf->headers_set_len->elts; | 541 le.ip = plcf->headers_set_len->elts; |
542 | 542 |
543 while (*(uintptr_t *) le.ip) { | 543 while (*(uintptr_t *) le.ip) { |
544 lcode = *(ngx_http_script_len_code_pt *) le.ip; | 544 lcode = *(ngx_http_script_len_code_pt *) le.ip; |
545 lcode(&le); | 545 |
546 /* skip the header line name length */ | |
547 (void) lcode(&le); | |
546 | 548 |
547 if (*(ngx_http_script_len_code_pt *) le.ip) { | 549 if (*(ngx_http_script_len_code_pt *) le.ip) { |
548 | 550 |
549 for (len = 0; *(uintptr_t *) le.ip; len += lcode(&le)) { | 551 for (len = 0; *(uintptr_t *) le.ip; len += lcode(&le)) { |
550 lcode = *(ngx_http_script_len_code_pt *) le.ip; | 552 lcode = *(ngx_http_script_len_code_pt *) le.ip; |