diff --git a/src/unlocker/proxy.cpp b/src/unlocker/proxy.cpp index bab118f..93eb700 100644 --- a/src/unlocker/proxy.cpp +++ b/src/unlocker/proxy.cpp @@ -535,9 +535,6 @@ void Proxy::handleClient(SOCKET hClientSocket) std::string respHeaders = serverStream.buffer.substr(0, bStart); size_t firstSpace = respHeaders.find(' '); - int sc = - (firstSpace != std::string::npos) ? safe_stoi(respHeaders.substr(firstSpace + 1, 3)) : 0; - OnServerResponse.run(url, body, respHeaders); removeHeader(respHeaders, "Transfer-Encoding");