mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-09 10:00:57 +03:00
Reduce the amount of client giving up FC Blocked stream logging
Summary: as title Reviewed By: mjoras, lnicco Differential Revision: D25771697 fbshipit-source-id: 71498c0cad7cecca08f3481461ed425e3a56c9fa
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ca412512af
commit
ee71bf229e
@@ -1059,7 +1059,8 @@ void onServerReadDataFromOpen(
|
||||
conn.peerConnectionError = std::make_pair(
|
||||
QuicErrorCode(connFrame.errorCode), std::move(errMsg));
|
||||
if (getSendConnFlowControlBytesWire(conn) == 0) {
|
||||
VLOG(2) << "Client gives up a flow control blocked connection";
|
||||
VLOG_EVERY_N(2, 1000)
|
||||
<< "Client gives up a flow control blocked connection";
|
||||
}
|
||||
throw QuicTransportException(
|
||||
"Peer closed", TransportErrorCode::NO_ERROR);
|
||||
|
||||
@@ -42,7 +42,8 @@ void sendStopSendingSMHandler(
|
||||
isSendingStream(stream.conn.nodeType, stream.id));
|
||||
if (stream.conn.nodeType == QuicNodeType::Server &&
|
||||
getSendStreamFlowControlBytesWire(stream) == 0) {
|
||||
VLOG(2) << "Client gives up a flow control blocked stream";
|
||||
VLOG_EVERY_N(2, 1000)
|
||||
<< "Client gives up a flow control blocked stream";
|
||||
}
|
||||
stream.conn.streamManager->addStopSending(stream.id, frame.errorCode);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user