From: Fabian Keil Date: Sat, 24 Nov 2012 14:04:29 +0000 (+0000) Subject: Stop considering client sockets tainted after receving a request with body X-Git-Tag: v_3_0_20~163 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=fc95ee44008b1d623d5560e243e7f8becb380423 Stop considering client sockets tainted after receving a request with body It hasn't been necessary for a while now and unnecessarily causes test failures when using curl's test suite. --- diff --git a/jcc.c b/jcc.c index 6f1f06c4..7d3b7232 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.415 2012/11/24 14:00:25 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.416 2012/11/24 14:01:25 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -1120,9 +1120,7 @@ static void verify_request_length(struct client_state *csp) { /* XXX: this is an incomplete hack */ csp->flags &= ~CSP_FLAG_CLIENT_REQUEST_COMPLETELY_READ; - csp->flags |= CSP_FLAG_SERVER_SOCKET_TAINTED; - log_error(LOG_LEVEL_CONNECT, - "There might be a request body. The connection will not be kept alive."); + log_error(LOG_LEVEL_CONNECT, "There better be a request body."); } else {