style: run clang-format
This commit is contained in:
@@ -336,8 +336,7 @@ void Proxy::handleClient(SOCKET hClientSocket)
|
|||||||
std::string emptyBody = "";
|
std::string emptyBody = "";
|
||||||
OnClientRequest.run(url, emptyBody, headers);
|
OnClientRequest.run(url, emptyBody, headers);
|
||||||
|
|
||||||
if (!pendingUrls.empty())
|
if (!pendingUrls.empty()) pendingUrls.back() = url;
|
||||||
pendingUrls.back() = url;
|
|
||||||
|
|
||||||
SSL_write(remoteSSL, headers.data(), (int)headers.size());
|
SSL_write(remoteSSL, headers.data(), (int)headers.size());
|
||||||
clientStream.buffer.erase(0, clientStream.headersEnd + 4);
|
clientStream.buffer.erase(0, clientStream.headersEnd + 4);
|
||||||
@@ -387,8 +386,7 @@ void Proxy::handleClient(SOCKET hClientSocket)
|
|||||||
if (complete)
|
if (complete)
|
||||||
{
|
{
|
||||||
OnClientRequest.run(url, body, headers);
|
OnClientRequest.run(url, body, headers);
|
||||||
if (!pendingUrls.empty() && pendingUrls.back() != url)
|
if (!pendingUrls.empty() && pendingUrls.back() != url) pendingUrls.back() = url;
|
||||||
pendingUrls.back() = url;
|
|
||||||
|
|
||||||
SSL_write(remoteSSL, headers.data(), (int)headers.size());
|
SSL_write(remoteSSL, headers.data(), (int)headers.size());
|
||||||
SSL_write(remoteSSL, clientStream.buffer.data() + bodyStart,
|
SSL_write(remoteSSL, clientStream.buffer.data() + bodyStart,
|
||||||
|
|||||||
Reference in New Issue
Block a user