diff --git a/proxygen/httpserver/samples/hq/HQClient.cpp b/proxygen/httpserver/samples/hq/HQClient.cpp index 472d6adf53..c1b7d175a7 100644 --- a/proxygen/httpserver/samples/hq/HQClient.cpp +++ b/proxygen/httpserver/samples/hq/HQClient.cpp @@ -159,7 +159,7 @@ void HQClient::initializeQuicClient() { client->setPacingTimer(pacingTimer_); client->setHostname(params_.host); - client->setFizzClientContext(createFizzClientContext(params_)); + client->setFizzClientQuicHandshakeContext(createFizzClientContext(params_)); // This is only for testing, this should not be use in prod client->setCertificateVerifier( std::make_unique< diff --git a/proxygen/lib/http/HQConnector.cpp b/proxygen/lib/http/HQConnector.cpp index 1167ed1c97..294c5c3f40 100644 --- a/proxygen/lib/http/HQConnector.cpp +++ b/proxygen/lib/http/HQConnector.cpp @@ -59,7 +59,7 @@ void HQConnector::connect( auto sock = std::make_unique(eventBase); auto quicClient = quic::QuicClientTransport::newClient(eventBase, std::move(sock)); - quicClient->setFizzClientContext(fizzContext); + quicClient->setFizzClientQuicHandshakeContext(fizzContext); quicClient->setCertificateVerifier(std::move(verifier)); quicClient->setHostname(sni.value_or(connectAddr.getAddressStr())); quicClient->addNewPeerAddress(connectAddr);