| 646 | } |
| 647 | |
| 648 | void HTTPReqHandler::HandoverToUpstreamProxy() |
| 649 | { |
| 650 | LogPrint(eLogDebug, "HTTPProxy: Handover to SOCKS proxy"); |
| 651 | auto connection = CreateSocketsPipe (GetOwner(), m_proxysock, m_sock); |
| 652 | m_sock = nullptr; |
| 653 | m_proxysock = nullptr; |
| 654 | GetOwner()->AddHandler(connection); |
| 655 | connection->Start(); |
| 656 | Terminate(); |
| 657 | } |
| 658 | |
| 659 | void HTTPReqHandler::HTTPConnect(std::string_view host, uint16_t port) |
| 660 | { |
nothing calls this directly
no test coverage detected