diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-05-18 15:29:08 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-05-18 15:29:08 +0000 |
commit | ab517d58277429bba16d0641e00aebea061db1ce (patch) | |
tree | fca49eca624c51e0ae7c829f0ce64233496c610e /src/http/modules/proxy/ngx_http_proxy_header.c | |
parent | 3043bfcf105e47969720d5bce8c3a89afe8e666d (diff) | |
download | nginx-ab517d58277429bba16d0641e00aebea061db1ce.tar.gz nginx-ab517d58277429bba16d0641e00aebea061db1ce.zip |
nginx-0.0.3-2004-05-18-19:29:08 import
Diffstat (limited to 'src/http/modules/proxy/ngx_http_proxy_header.c')
-rw-r--r-- | src/http/modules/proxy/ngx_http_proxy_header.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/modules/proxy/ngx_http_proxy_header.c b/src/http/modules/proxy/ngx_http_proxy_header.c index cb13034f7..a3e05e513 100644 --- a/src/http/modules/proxy/ngx_http_proxy_header.c +++ b/src/http/modules/proxy/ngx_http_proxy_header.c @@ -26,6 +26,10 @@ int ngx_http_proxy_copy_header(ngx_http_proxy_ctx_t *p, continue; } + if (&h[i] == headers_in->x_pad) { + continue; + } + if (p->accel) { if (&h[i] == headers_in->date || &h[i] == headers_in->accept_ranges) { |