From: Fabian Keil <fk@fabiankeil.de>
Date: Fri, 28 Aug 2020 13:05:08 +0000 (+0200)
Subject: chat(): Don't log process_encrypted_request() failures
X-Git-Tag: v_3_0_29~167
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/faq/@default-cgi@/diff?a=commitdiff_plain;h=ee5abceae9f104f674abd44984eefb99375ef9f5;p=privoxy.git

chat(): Don't log process_encrypted_request() failures

.. as parse errors.

process_encrypted_request() already logs errors with
a more precise explanation.

Sponsored by: Robert Klemme
---

diff --git a/jcc.c b/jcc.c
index 8d92f65c..ec492ef6 100644
--- a/jcc.c
+++ b/jcc.c
@@ -3874,7 +3874,6 @@ static void chat(struct client_state *csp)
          }
          if (JB_ERR_OK != process_encrypted_request(csp))
          {
-            log_error(LOG_LEVEL_ERROR, "Failed to parse encrypted request.");
             close_client_ssl_connection(csp);
             return;
          }