diff options
author | Michael Adam <obnox@samba.org> | 2009-09-20 21:58:52 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-09-20 21:58:52 +0200 |
commit | fcb053a77cc892ebe92be8f7baff60f358189368 (patch) | |
tree | 14019d1d15bc7013b5499ef177af020ce026c9df | |
parent | 87f7a79e89b34277152b51e2c082ad867ec959b4 (diff) | |
download | tinyproxy-fcb053a77cc892ebe92be8f7baff60f358189368.tar.gz tinyproxy-fcb053a77cc892ebe92be8f7baff60f358189368.zip |
Revert "Remove unused parameter from process_request()"
This reverts commit f3312c22a0fc49bf1d93e87ee8e84290f3f91171.
The "hashofheaders" argument to process_request() is needed
for building with reverse support or with transparent support.
Michael
Diffstat (limited to '')
-rw-r--r-- | src/reqs.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -506,8 +506,8 @@ static int send_ssl_response (struct conn_s *connptr) * Break the request line apart and figure out where to connect and * build a new request line. Finally connect to the remote server. */ -static struct request_s * -process_request (struct conn_s *connptr) +static struct request_s *process_request (struct conn_s *connptr, + hashmap_t hashofheaders) { char *url; struct request_s *request; @@ -1603,7 +1603,7 @@ void handle_connection (int fd) return; } - request = process_request (connptr); + request = process_request (connptr, hashofheaders); if (!request) { if (!connptr->error_variables && !connptr->show_stats) { update_stats (STAT_BADCONN); |