mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-07-29 03:41:11 +03:00
Use appendToChain instead of deprecated name prependChain
Summary: See title Differential Revision: D74206613 fbshipit-source-id: b8acaaabe3de34f5e5af03e91455ccb342939c86
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a56be059b9
commit
469da60216
@ -1441,7 +1441,7 @@ void writeCloseCommon(
|
||||
bufUniquePtr->length(),
|
||||
headerCipher);
|
||||
folly::IOBuf packetBuf(std::move(packet.header));
|
||||
packetBuf.prependChain(std::move(bufUniquePtr));
|
||||
packetBuf.appendToChain(std::move(bufUniquePtr));
|
||||
auto packetSize = packetBuf.computeChainDataLength();
|
||||
if (connection.qLogger) {
|
||||
connection.qLogger->addPacket(packet.packet, packetSize);
|
||||
|
Reference in New Issue
Block a user