mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-08-01 01:44:22 +03:00
Change Buf -> BufPtr and RawBuf -> Buf
Summary: Previously, * `RawBuf` was a typealias for `std::unique_ptr<folly::IOBuf>` * `Buf` was a typealias for `folly::IOBuf` In this diff, * `Buf` is a typealias for `folly::IOBuf` * `BufPtr` is a typealias for `std::unique_ptr<folly::IOBuf>` Reviewed By: hanidamlaj Differential Revision: D73206576 fbshipit-source-id: 454bf6ccfce3d6571e5e931889263ed98cc24af3
This commit is contained in:
committed by
Facebook GitHub Bot
parent
153668148e
commit
41667ff7c5
@ -1447,7 +1447,7 @@ void writeCloseCommon(
|
||||
increaseNextPacketNum(connection, pnSpace);
|
||||
// best effort writing to the socket, ignore any errors.
|
||||
|
||||
Buf packetBufPtr = packetBuf.clone();
|
||||
BufPtr packetBufPtr = packetBuf.clone();
|
||||
iovec vec[kNumIovecBufferChains];
|
||||
size_t iovec_len = fillIovec(packetBufPtr, vec);
|
||||
auto ret = sock.write(connection.peerAddress, vec, iovec_len);
|
||||
|
Reference in New Issue
Block a user