Loading src/http.cpp +0 −2 Original line number Diff line number Diff line Loading @@ -226,9 +226,7 @@ libhttppp::HttpClient::HttpClient(const HttpUrl& desturl) // Check negotiated ALPN after TLS handshake if (auto *sslsock = dynamic_cast<netplus::ssl*>(_cltsock.get())) { const std::string &alpn = sslsock->getSelectedAlpn(); std::cerr << "[HttpClient] ALPN negotiated: '" << alpn << "'" << std::endl; _isH2 = (alpn == "h2"); std::cerr << "[HttpClient] _isH2 = " << _isH2 << std::endl; } else { std::cerr << "[HttpClient] Not an SSL socket" << std::endl; } Loading Loading
src/http.cpp +0 −2 Original line number Diff line number Diff line Loading @@ -226,9 +226,7 @@ libhttppp::HttpClient::HttpClient(const HttpUrl& desturl) // Check negotiated ALPN after TLS handshake if (auto *sslsock = dynamic_cast<netplus::ssl*>(_cltsock.get())) { const std::string &alpn = sslsock->getSelectedAlpn(); std::cerr << "[HttpClient] ALPN negotiated: '" << alpn << "'" << std::endl; _isH2 = (alpn == "h2"); std::cerr << "[HttpClient] _isH2 = " << _isH2 << std::endl; } else { std::cerr << "[HttpClient] Not an SSL socket" << std::endl; } Loading