From: Fabian Keil Date: Sun, 5 Jul 2009 12:00:53 +0000 (+0000) Subject: If we decided not to keep the connection to the server alive, but have a reusable... X-Git-Tag: v_3_0_14~66 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=d59c368d0ecf1514f0e177bee5ba62a665a367c0 If we decided not to keep the connection to the server alive, but have a reusable connection open, close it and create a new one. --- diff --git a/jcc.c b/jcc.c index 4c3e0ba7..58fe9a03 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.259 2009/06/28 14:31:42 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.260 2009/07/05 12:00:09 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -1632,6 +1632,7 @@ static void chat(struct client_state *csp) #ifdef FEATURE_CONNECTION_KEEP_ALIVE if ((csp->sfd != JB_INVALID_SOCKET) + && !(csp->flags & CSP_FLAG_SERVER_SOCKET_TAINTED) && socket_is_still_usable(csp->sfd) && connection_destination_matches(&csp->server_connection, http, fwd)) {