[Privoxy-commits] [privoxy] 01/02: wolfSSL: Unconditionally increment shutdown_attempts
User Git
git at git.privoxy.org
Mon Apr 1 17:21:50 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 23dcf9be0e91645fe420fdf0c699f99d457d3fc9
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Mon Apr 1 16:41:27 2024 +0200
wolfSSL: Unconditionally increment shutdown_attempts
Previously the succeeding attempt wasn't counted.
---
wolfssl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wolfssl.c b/wolfssl.c
index f011491b..10ecd6b0 100644
--- a/wolfssl.c
+++ b/wolfssl.c
@@ -973,9 +973,9 @@ static void shutdown_connection(WOLFSSL *ssl, const char *type)
return;
}
ret = wolfSSL_shutdown(ssl);
+ shutdown_attempts++;
if (WOLFSSL_SUCCESS != ret)
{
- shutdown_attempts++;
log_error(LOG_LEVEL_CONNECT, "Failed to shutdown %s connection "
"on socket %d. Attempts so far: %d, ret: %d", type, fd,
shutdown_attempts, ret);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list