mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-04-18 17:24:03 +03:00
Summary: Remove ThreadLocalBatchWriter since it's not being used. Reviewed By: mjoras Differential Revision: D50809221 fbshipit-source-id: 3754e64320518165654217b1e368429c69a944c5
43 lines
1.1 KiB
C++
43 lines
1.1 KiB
C++
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#include <quic/api/QuicBatchWriterFactory.h>
|
|
|
|
namespace quic {
|
|
|
|
// BatchWriterDeleter
|
|
void BatchWriterDeleter::operator()(BatchWriter* batchWriter) {
|
|
delete batchWriter;
|
|
}
|
|
|
|
BatchWriterPtr makeGsoBatchWriter(uint32_t) {
|
|
LOG(FATAL) << "not implemented for mobile";
|
|
return nullptr;
|
|
}
|
|
|
|
BatchWriterPtr makeGsoInPlaceBatchWriter(uint32_t, QuicConnectionStateBase&) {
|
|
LOG(FATAL) << "not implemented for mobile";
|
|
return nullptr;
|
|
}
|
|
|
|
BatchWriterPtr makeSendmmsgGsoBatchWriter(uint32_t) {
|
|
LOG(FATAL) << "not implemented for mobile";
|
|
return nullptr;
|
|
}
|
|
|
|
BatchWriterPtr BatchWriterFactory::makeBatchWriter(
|
|
const quic::QuicBatchingMode& batchingMode,
|
|
uint32_t batchSize,
|
|
DataPathType dataPathType,
|
|
QuicConnectionStateBase& conn,
|
|
bool gsoSupported) {
|
|
return makeBatchWriterHelper(
|
|
batchingMode, batchSize, dataPathType, conn, gsoSupported);
|
|
}
|
|
|
|
} // namespace quic
|