From f5f76b09aace765e0497374b17873230cdb7b300 Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Fri, 3 Nov 2023 21:37:21 +0100 Subject: [PATCH] VNCConn: set connect timeout Closes #226 --- src/VNCConn.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/VNCConn.cpp b/src/VNCConn.cpp index 9585d1f0..4c0a2bf6 100644 --- a/src/VNCConn.cpp +++ b/src/VNCConn.cpp @@ -1091,6 +1091,7 @@ bool VNCConn::setupClient() cl->HandleXvpMsg = thread_handle_xvp; cl->canHandleNewFBSize = TRUE; + cl->connectTimeout = 5; return true; }