Updated the list of headers to ignore.
This commit is contained in:
1 parent
faf655c5db
commit
17103bf8fe
1 file changed
+6
-3
+6
-3
@@ -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
|
* This is where all the work in tinyproxy is actually done. Incoming
|
||||||
* connections have a new thread created for them. The thread then
|
* 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;
|
ssize_t len;
|
||||||
|
|
||||||
static char *skipheaders[] = {
|
static char *skipheaders[] = {
|
||||||
"proxy-connection",
|
|
||||||
"host",
|
"host",
|
||||||
|
"connection",
|
||||||
"keep-alive",
|
"keep-alive",
|
||||||
"proxy-authenticate",
|
"proxy-authenticate",
|
||||||
"proxy-authorization",
|
"proxy-authorization",
|
||||||
"connection"
|
"te",
|
||||||
|
"trailers",
|
||||||
|
"transfer-encoding",
|
||||||
|
"upgrade"
|
||||||
};
|
};
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user