Revert "Remove unused parameter from process_request()"

This reverts commit f3312c22a0.

The "hashofheaders" argument to process_request() is needed
for building with reverse support or with transparent support.

Michael
This commit is contained in:
Michael Adam 2009-09-20 21:58:52 +02:00
parent 87f7a79e89
commit fcb053a77c

View File

@ -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 * Break the request line apart and figure out where to connect and
* build a new request line. Finally connect to the remote server. * build a new request line. Finally connect to the remote server.
*/ */
static struct request_s * static struct request_s *process_request (struct conn_s *connptr,
process_request (struct conn_s *connptr) hashmap_t hashofheaders)
{ {
char *url; char *url;
struct request_s *request; struct request_s *request;
@ -1603,7 +1603,7 @@ void handle_connection (int fd)
return; return;
} }
request = process_request (connptr); request = process_request (connptr, hashofheaders);
if (!request) { if (!request) {
if (!connptr->error_variables && !connptr->show_stats) { if (!connptr->error_variables && !connptr->show_stats) {
update_stats (STAT_BADCONN); update_stats (STAT_BADCONN);