commit 589983325b496245bb31612ff5aa6b1bb808b5fd
parent 88374e04d2339297e75a34a798611bfb92225c4b
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Thu, 16 Mar 2017 21:06:27 +0300
run_tls_handshake(): fixed wrong return value resulting in slower TLS connection setup
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/microhttpd/connection_https.c b/src/microhttpd/connection_https.c
@@ -56,7 +56,7 @@ run_tls_handshake (struct MHD_Connection *connection)
{
/* set connection state to enable HTTP processing */
connection->state = MHD_CONNECTION_INIT;
- return MHD_YES;
+ return MHD_NO;
}
if ( (GNUTLS_E_AGAIN == ret) ||
(GNUTLS_E_INTERRUPTED == ret) )