[Privoxy-commits] [privoxy] 04/10: wolfSSL: Log if wolfSSL_shutdown() succeeds after retrying

User Git git at git.privoxy.org
Wed Jun 26 15:39:21 CEST 2024


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit 04ab204c8030fad8cf5846c5b842b62bf9768ee6
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sun Mar 31 13:54:18 2024 +0200

    wolfSSL: Log if wolfSSL_shutdown() succeeds after retrying
---
 wolfssl.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/wolfssl.c b/wolfssl.c
index 7f6c9646..02048453 100644
--- a/wolfssl.c
+++ b/wolfssl.c
@@ -991,6 +991,11 @@ static void shutdown_connection(WOLFSSL *ssl, const char *type)
          type, fd, shutdown_attempts, ret, error,
          wolfSSL_ERR_error_string((unsigned long)error, buffer));
    }
+   else if (shutdown_attempts > 1)
+   {
+      log_error(LOG_LEVEL_CONNECT, "Succeeded to shutdown %s connection "
+         "on socket %d after %d attempts.", type, fd, shutdown_attempts);
+   }
 }
 
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list