Mercurial > hg > nginx-vendor-0-7
comparison src/http/modules/ngx_http_proxy_module.c @ 128:f1ad9023c312 NGINX_0_3_11
nginx 0.3.11
*) Bugfix: nginx did not pass the client request headers and body while
proxying; bug appeared in 0.3.10.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 15 Nov 2005 00:00:00 +0300 |
parents | df17fbafec8f |
children | 82d695e3d662 |
comparison
equal
deleted
inserted
replaced
127:60c2de028f0d | 128:f1ad9023c312 |
---|---|
671 | 671 |
672 while (*(uintptr_t *) e.ip) { | 672 while (*(uintptr_t *) e.ip) { |
673 code = *(ngx_http_script_code_pt *) e.ip; | 673 code = *(ngx_http_script_code_pt *) e.ip; |
674 code((ngx_http_script_engine_t *) &e); | 674 code((ngx_http_script_engine_t *) &e); |
675 } | 675 } |
676 } | 676 |
677 | 677 b->last = e.pos; |
678 b->last = e.pos; | 678 } |
679 | 679 |
680 #if (NGX_DEBUG) | 680 #if (NGX_DEBUG) |
681 { | 681 { |
682 ngx_str_t s; | 682 ngx_str_t s; |
683 | 683 |
1619 conf->body_source = prev->body_source; | 1619 conf->body_source = prev->body_source; |
1620 conf->body_set_len = prev->body_set_len; | 1620 conf->body_set_len = prev->body_set_len; |
1621 conf->body_set = prev->body_set; | 1621 conf->body_set = prev->body_set; |
1622 } | 1622 } |
1623 | 1623 |
1624 if (conf->body_set_len == 0) { | 1624 if (conf->body_source.data && conf->body_set_len == NULL) { |
1625 | 1625 |
1626 ngx_memzero(&sc, sizeof(ngx_http_script_compile_t)); | 1626 ngx_memzero(&sc, sizeof(ngx_http_script_compile_t)); |
1627 | 1627 |
1628 sc.cf = cf; | 1628 sc.cf = cf; |
1629 sc.source = &conf->body_source; | 1629 sc.source = &conf->body_source; |