Removed the proxy-* headers from the list of headers to skip. Since

tinyproxy does not prompt for any proxy information from the client, it
should not be eating the proxy headers.  They are most likely needed by
an upstream proxy.
This commit is contained in:
Robert James Kaes 2005-07-06 21:44:08 +00:00
parent 51096e2944
commit 6042483a0e

View File

@ -1,4 +1,4 @@
/* $Id: reqs.c,v 1.117 2004-08-24 16:35:27 rjkaes Exp $ /* $Id: reqs.c,v 1.118 2005-07-06 21:44:08 rjkaes Exp $
* *
* This is where all the work in tinyproxy is actually done. Incoming * This is where all the work in tinyproxy is actually done. Incoming
* connections have a new child created for them. The child then * connections have a new child created for them. The child then
@ -1205,8 +1205,6 @@ process_client_headers(struct conn_s *connptr, hashmap_t hashofheaders)
static char *skipheaders[] = { static char *skipheaders[] = {
"host", "host",
"keep-alive", "keep-alive",
"proxy-authenticate",
"proxy-authorization",
"proxy-connection", "proxy-connection",
"te", "te",
"trailers", "trailers",