fix: add sslWriteAll call again

This commit is contained in:
2026-05-13 11:45:03 -03:00
parent 2af558cb56
commit 0d661baaff
+1 -1
View File
@@ -632,7 +632,7 @@ void TinyMITMProxy::handleClient(SOCKET clientSocket)
"Content-Length: " + std::to_string(fullBody.size()) + "\r\n");
std::string packet = respHeaders + fullBody;
wolfSSL_write(clientSSL.get(), packet.data(), (int)packet.size());
if (!sslWriteAll(clientSSL.get(), packet.data(), (int)packet.size(), clientGuard)) break;
serverStream.buffer.erase(0, totalResponseSize);