1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-11-22 16:02:34 +03:00

use the new errnoStr function

Summary: instead of the folly one

Reviewed By: sharmafb

Differential Revision: D80305359

fbshipit-source-id: 02f4780ed32874e00bcea13b5af4103560d7d205
This commit is contained in:
Konstantin Tsoy
2025-08-26 09:09:38 -07:00
committed by Facebook GitHub Bot
parent 14d5724260
commit 5f59ee7eff
14 changed files with 67 additions and 76 deletions

View File

@@ -15,6 +15,7 @@
#include <quic/codec/QuicWriteCodec.h>
#include <quic/codec/Types.h>
#include <quic/common/BufAccessor.h>
#include <quic/common/StringUtils.h>
#include <quic/flowcontrol/QuicFlowController.h>
#include <quic/happyeyeballs/QuicHappyEyeballsFunctions.h>
@@ -1508,8 +1509,8 @@ void writeCloseCommon(
auto ret = sock.write(connection.peerAddress, vec, iovec_len);
connection.lossState.totalBytesSent += packetSize;
if (ret < 0) {
VLOG(4) << "Error writing connection close " << folly::errnoStr(errno)
<< " " << connection;
VLOG(4) << "Error writing connection close " << quic::errnoStr(errno) << " "
<< connection;
} else {
QUIC_STATS(connection.statsCallback, onWrite, ret);
}