comparison src/http/modules/ngx_http_proxy_module.c @ 64:5db440287648 NGINX_0_1_32

nginx 0.1.32 *) Bugfix: the arguments were omitted in the redirects, issued by the "rewrite" directive; bug 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 <http://sysoev.ru>
date Thu, 19 May 2005 00:00:00 +0400
parents b55cbf18157e
children 818201e5a553
comparison
equal deleted inserted replaced
63:e42867135781 64:5db440287648
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;