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:
committed by
Facebook GitHub Bot
parent
14d5724260
commit
5f59ee7eff
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user