projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99dbb37
)
wolfSSL: Log if wolfSSL_shutdown() succeeds after retrying
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 31 Mar 2024 11:54:18 +0000
(13:54 +0200)
committer
Fabian Keil
<fk@fabiankeil.de>
Wed, 26 Jun 2024 13:36:44 +0000
(15:36 +0200)
wolfssl.c
patch
|
blob
|
history
diff --git
a/wolfssl.c
b/wolfssl.c
index
7f6c964
..
0204845
100644
(file)
--- 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);
+ }
}