1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-11-27 03:41:14 +03:00

Remove libccp from mvfst

Summary: We don't use it, and the OSS lib hasn't been updated in a while.

Reviewed By: mjoras

Differential Revision: D46707559

fbshipit-source-id: ec102a52183a736cfb1c0241600816a837062108
This commit is contained in:
Konstantin Tsoy
2023-06-15 18:17:53 -07:00
committed by Facebook GitHub Bot
parent dccfc706b5
commit adf16f9a07
37 changed files with 7 additions and 2871 deletions

View File

@@ -26,7 +26,6 @@
#include <quic/congestion_control/Copa.h>
#include <quic/fizz/handshake/FizzRetryIntegrityTagGenerator.h>
#include <quic/server/AcceptObserver.h>
#include <quic/server/CCPReader.h>
#include <quic/server/QuicServerWorker.h>
#include <quic/server/handshake/StatelessResetGenerator.h>
#include <quic/server/handshake/TokenGenerator.h>
@@ -58,7 +57,6 @@ QuicServerWorker::QuicServerWorker(
setEventCallback_(ec),
takeoverPktHandler_(this),
observerList_(this) {
ccpReader_ = std::make_unique<CCPReader>();
pending0RttData_.setPruneHook(
[&](auto, auto) { QUIC_STATS(statsCallback_, onZeroRttBufferedPruned); });
}
@@ -647,9 +645,6 @@ QuicServerTransport::Ptr QuicServerWorker::makeTransport(
if (validNewToken) {
trans->verifiedClientAddress();
}
#ifdef CCP_ENABLED
trans->setCcpDatapath(getCcpReader()->getDatapath());
#endif
trans->setCongestionControllerFactory(ccFactory_);
trans->setTransportStatsCallback(statsCallback_.get()); // ok if nullptr
@@ -1181,10 +1176,6 @@ void QuicServerWorker::setConnectionIdVersion(
cidVersion_ = cidVersion;
}
CCPReader* QuicServerWorker::getCcpReader() const noexcept {
return ccpReader_.get();
}
void QuicServerWorker::setNewConnectionSocketFactory(
QuicUDPSocketFactory* factory) {
socketFactory_ = factory;