← Commit list

70bb0db767

Jay Satiro
Jay Satiro
2026-04-13
SUCCESS Duration: 234s

Subject

schannel: increase renegotiation timeout to 60 seconds

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/vtls/schannel.c+7 -1
@@ -1757,7 +1757,13 @@ enum schannel_renegotiate_caller_t {
SCH_RENEG_CALLER_IS_SEND
};
-#define MAX_RENEG_BLOCK_TIME (7 * 1000) /* 7 seconds in milliseconds */
+/* The maximum time we allow for Schannel renegotiation which may in some
+ rare cases block either due to libcurl (waiting on the socket) or Windows
+ (waiting on an interactive security prompt). Note Schannel "renegotiation"
+ is not necessarily literal TLS renegotiation, but means DecryptMessage
+ returned SEC_I_RENEGOTIATE which means at least the security context needs
+ to be re-established. */
+#define MAX_RENEG_BLOCK_TIME (60 * 1000) /* 60 seconds in milliseconds */
/* This function renegotiates the connection due to a server request received
by schannel_recv. This function returns CURLE_AGAIN if the renegotiation is