wolfSSL: Bump MAX_SHUTDOWN_ATTEMPTS to 5 as an experiment
authorFabian Keil <fk@fabiankeil.de>
Mon, 1 Apr 2024 11:46:39 +0000 (13:46 +0200)
committerFabian Keil <fk@fabiankeil.de>
Mon, 1 Apr 2024 11:51:23 +0000 (13:51 +0200)
wolfssl.c

index ede2047..f011491 100644 (file)
--- a/wolfssl.c
+++ b/wolfssl.c
@@ -960,7 +960,7 @@ static void shutdown_connection(WOLFSSL *ssl, const char *type)
    int shutdown_attempts = 0;
    int ret;
    int fd;
-   enum { MAX_SHUTDOWN_ATTEMPTS = 2 };
+   enum { MAX_SHUTDOWN_ATTEMPTS = 5 };
 
    fd = wolfSSL_get_fd(ssl);