From: Fabian Keil Date: Sun, 5 Jul 2009 12:00:09 +0000 (+0000) Subject: In mark_server_socket_tainted(), update the log message and stop unsetting CSP_FLAG_S... X-Git-Tag: v_3_0_14~67 X-Git-Url: http://www.privoxy.org/gitweb/?a=commitdiff_plain;h=d3564c30270cd1fee93f74d660749af401f24a69;p=privoxy.git In mark_server_socket_tainted(), update the log message and stop unsetting CSP_FLAG_SERVER_CONNECTION_KEEP_ALIVE which is no longer necessary. --- diff --git a/jcc.c b/jcc.c index 867a5c98..4c3e0ba7 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.258 2009/06/27 11:22:52 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.259 2009/06/28 14:31:42 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -1141,8 +1141,8 @@ static void mark_server_socket_tainted(struct client_state *csp) { if ((csp->flags & CSP_FLAG_SERVER_CONNECTION_KEEP_ALIVE)) { - log_error(LOG_LEVEL_CONNECT, "Unsetting keep-alive flag."); - csp->flags &= ~CSP_FLAG_SERVER_CONNECTION_KEEP_ALIVE; + log_error(LOG_LEVEL_CONNECT, + "Marking the connection to the server tainted."); csp->flags |= CSP_FLAG_SERVER_SOCKET_TAINTED; } }