comparison src/http/modules/ngx_http_proxy_module.c @ 519:12234c998d83 release-0.1.34

nginx-0.1.34-RELEASE import *) Bugfix: the worker process may got caught in an endless loop if the big response part were include by SSI. *) Bugfix: the variables set by the "set" directive were not available in SSI. *) Feature: the "autoindex_localtime" directive. *) Bugfix: the empty value of the "proxy_set_header" directive forbids the client request header line passing.
author Igor Sysoev <igor@sysoev.ru>
date Thu, 26 May 2005 18:12:40 +0000
parents dadfa78d2270
children 6f00349b98e5
comparison
equal deleted inserted replaced
518:eeee5e6f5c48 519:12234c998d83
1574 return NGX_CONF_ERROR; 1574 return NGX_CONF_ERROR;
1575 } 1575 }
1576 1576
1577 *name = src[i].key; 1577 *name = src[i].key;
1578 1578
1579 if (src[i].value.len == 0) {
1580 continue;
1581 }
1582
1579 if (ngx_http_script_variables_count(&src[i].value) == 0) { 1583 if (ngx_http_script_variables_count(&src[i].value) == 0) {
1580 copy = ngx_array_push_n(conf->headers_set_len, 1584 copy = ngx_array_push_n(conf->headers_set_len,
1581 sizeof(ngx_http_script_copy_code_t)); 1585 sizeof(ngx_http_script_copy_code_t));
1582 if (copy == NULL) { 1586 if (copy == NULL) {
1583 return NGX_CONF_ERROR; 1587 return NGX_CONF_ERROR;