From d59c368d0ecf1514f0e177bee5ba62a665a367c0 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 5 Jul 2009 12:00:53 +0000 Subject: [PATCH] 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. --- jcc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) { -- 2.39.2