fix: update setNonBlocking call to reflect previous changes
This commit is contained in:
@@ -345,8 +345,8 @@ void TinyMITMProxy::handleClient(SOCKET clientSocket)
|
|||||||
|
|
||||||
wolfSSL_UseSNI(remoteSSL.get(), WOLFSSL_SNI_HOST_NAME, host.c_str(), (unsigned short)host.size());
|
wolfSSL_UseSNI(remoteSSL.get(), WOLFSSL_SNI_HOST_NAME, host.c_str(), (unsigned short)host.size());
|
||||||
|
|
||||||
setNonBlocking(clientGuard);
|
setNonBlocking(clientGuard, true);
|
||||||
setNonBlocking(remoteGuard);
|
setNonBlocking(remoteGuard, true);
|
||||||
|
|
||||||
if (!doHandshake(clientSSL.get(), clientGuard, true)) return;
|
if (!doHandshake(clientSSL.get(), clientGuard, true)) return;
|
||||||
if (!doHandshake(remoteSSL.get(), remoteGuard, false)) return;
|
if (!doHandshake(remoteSSL.get(), remoteGuard, false)) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user