summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2001-12-18 05:01:03 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2001-12-18 05:01:03 +0000
commit17103bf8fe3d07b3826a0a3b38f8e4d5d121d220 (patch)
treee7b95a8517607068d8ff78cdbc972c670b4b1e02
parentfaf655c5db2a10e2af0c7a95de9c70b412800ea7 (diff)
downloadtinyproxy-17103bf8fe3d07b3826a0a3b38f8e4d5d121d220.tar.gz
tinyproxy-17103bf8fe3d07b3826a0a3b38f8e4d5d121d220.zip
Updated the list of headers to ignore.
-rw-r--r--src/reqs.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/reqs.c b/src/reqs.c
index d0c9cde..ad693fb 100644
--- a/src/reqs.c
+++ b/src/reqs.c
@@ -1,4 +1,4 @@
-/* $Id: reqs.c,v 1.44 2001-12-17 19:10:56 rjkaes Exp $
+/* $Id: reqs.c,v 1.45 2001-12-18 05:01:03 rjkaes Exp $
*
* This is where all the work in tinyproxy is actually done. Incoming
* connections have a new thread created for them. The thread then
@@ -510,12 +510,15 @@ process_client_headers(struct conn_s *connptr)
ssize_t len;
static char *skipheaders[] = {
- "proxy-connection",
"host",
+ "connection",
"keep-alive",
"proxy-authenticate",
"proxy-authorization",
- "connection"
+ "te",
+ "trailers",
+ "transfer-encoding",
+ "upgrade"
};
int i;