fix: sslWriteAll on server->client

This commit is contained in:
2026-05-13 11:43:55 -03:00
parent f891c910aa
commit d123d1cd4d
+1 -1
View File
@@ -557,7 +557,7 @@ void TinyMITMProxy::handleClient(SOCKET clientSocket)
{ {
if (tunnelMode) if (tunnelMode)
{ {
wolfSSL_write(clientSSL.get(), buf, rd); if (!sslWriteAll(clientSSL.get(), buf, rd, clientGuard)) break;
} }
else else
{ {