Mercurial > hg > nginx
diff src/http/modules/ngx_http_proxy_module.c @ 579:4c5c2c55975c release-0.3.11
nginx-0.3.11-RELEASE import
*) Bugfix: nginx did not pass the client request headers and body while
proxying; the bug had appeared in 0.3.10.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 15 Nov 2005 14:49:57 +0000 |
parents | 4d9ea73a627a |
children | 326634fb9d47 |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_proxy_module.c Tue Nov 15 13:30:52 2005 +0000 +++ b/src/http/modules/ngx_http_proxy_module.c Tue Nov 15 14:49:57 2005 +0000 @@ -673,10 +673,10 @@ code = *(ngx_http_script_code_pt *) e.ip; code((ngx_http_script_engine_t *) &e); } + + b->last = e.pos; } - b->last = e.pos; - #if (NGX_DEBUG) { ngx_str_t s; @@ -1621,7 +1621,7 @@ conf->body_set = prev->body_set; } - if (conf->body_set_len == 0) { + if (conf->body_source.data && conf->body_set_len == NULL) { ngx_memzero(&sc, sizeof(ngx_http_script_compile_t));