fix: add sslWriteAll call again
This commit is contained in:
@@ -632,7 +632,7 @@ void TinyMITMProxy::handleClient(SOCKET clientSocket)
|
|||||||
"Content-Length: " + std::to_string(fullBody.size()) + "\r\n");
|
"Content-Length: " + std::to_string(fullBody.size()) + "\r\n");
|
||||||
|
|
||||||
std::string packet = respHeaders + fullBody;
|
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);
|
serverStream.buffer.erase(0, totalResponseSize);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user