fix: dont pop pendingUrls
This commit is contained in:
@@ -518,8 +518,6 @@ void TinyMITMProxy::handleClient(SOCKET clientSocket)
|
||||
"Content-Length: " + std::to_string(mockBody.size()) + "\r\n");
|
||||
|
||||
std::string packet = mockHeaders + mockBody;
|
||||
|
||||
if (!pendingUrls.empty()) pendingUrls.pop_back();
|
||||
if (!sslWriteAll(clientSSL.get(), packet.data(), (int)packet.size(), clientGuard))
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user