Mercurial > hg > nginx
comparison src/http/modules/proxy/ngx_http_proxy_header.c @ 290:87e73f067470
nginx-0.0.2-2004-03-16-10:10:12 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 16 Mar 2004 07:10:12 +0000 |
parents | 0b67be7d4489 |
children | 5cfd65b8b0a7 |
comparison
equal
deleted
inserted
replaced
289:0750faf8d7e3 | 290:87e73f067470 |
---|---|
9 ngx_table_elt_t *loc); | 9 ngx_table_elt_t *loc); |
10 | 10 |
11 int ngx_http_proxy_copy_header(ngx_http_proxy_ctx_t *p, | 11 int ngx_http_proxy_copy_header(ngx_http_proxy_ctx_t *p, |
12 ngx_http_proxy_headers_in_t *headers_in) | 12 ngx_http_proxy_headers_in_t *headers_in) |
13 { | 13 { |
14 int i; | 14 ngx_uint_t i; |
15 ngx_table_elt_t *ho, *h; | 15 ngx_table_elt_t *ho, *h; |
16 ngx_http_request_t *r; | 16 ngx_http_request_t *r; |
17 | 17 |
18 r = p->request; | 18 r = p->request; |
19 | 19 |
95 | 95 |
96 | 96 |
97 static int ngx_http_proxy_rewrite_location_header(ngx_http_proxy_ctx_t *p, | 97 static int ngx_http_proxy_rewrite_location_header(ngx_http_proxy_ctx_t *p, |
98 ngx_table_elt_t *loc) | 98 ngx_table_elt_t *loc) |
99 { | 99 { |
100 char *last; | 100 u_char *last; |
101 ngx_http_request_t *r; | 101 ngx_http_request_t *r; |
102 ngx_http_proxy_upstream_conf_t *uc; | 102 ngx_http_proxy_upstream_conf_t *uc; |
103 | 103 |
104 r = p->request; | 104 r = p->request; |
105 uc = p->lcf->upstream; | 105 uc = p->lcf->upstream; |