1
0
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:
Aman Sharma
2025-05-06 21:04:52 -07:00
committed by Facebook GitHub Bot
parent a56be059b9
commit 469da60216
22 changed files with 73 additions and 73 deletions

View File

@ -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);