From: Fabian Keil <fk@fabiankeil.de>
Date: Mon, 1 Jun 2020 14:49:57 +0000 (+0200)
Subject: chat(): Remove a pointless close_client_ssl_connection() call
X-Git-Tag: v_3_0_29~335
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/developer-manual/static/@default-cgi@send-stylesheet?a=commitdiff_plain;h=99a1ca148e2d2fb60bb5b7751a445f4749f1f623;p=privoxy.git

chat(): Remove a pointless close_client_ssl_connection() call

Sponsored by: Robert Klemme
---

diff --git a/jcc.c b/jcc.c
index 122b2b40..6f399ee3 100644
--- a/jcc.c
+++ b/jcc.c
@@ -3760,7 +3760,6 @@ static void chat(struct client_state *csp)
          {
             log_error(LOG_LEVEL_ERROR,
                "Failed to open a secure connection with the client");
-            close_client_ssl_connection(csp); /* XXX: Is this needed? */
             return;
          }
          if (JB_ERR_OK != process_encrypted_request(csp))