fix: update setNonBlocking call to reflect previous changes

This commit is contained in:
2026-05-13 11:34:31 -03:00
parent bb9326c5a2
commit 3de64df22b
+2 -2
View File
@@ -345,8 +345,8 @@ void TinyMITMProxy::handleClient(SOCKET clientSocket)
wolfSSL_UseSNI(remoteSSL.get(), WOLFSSL_SNI_HOST_NAME, host.c_str(), (unsigned short)host.size());
setNonBlocking(clientGuard);
setNonBlocking(remoteGuard);
setNonBlocking(clientGuard, true);
setNonBlocking(remoteGuard, true);
if (!doHandshake(clientSSL.get(), clientGuard, true)) return;
if (!doHandshake(remoteSSL.get(), remoteGuard, false)) return;