1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-08-01 01:44:22 +03:00

Add flow control updates counter

Reviewed By: mjoras

Differential Revision: D62272587

fbshipit-source-id: 4c1b2de3ab96ea0ada0e4ced6e10dcee4a4d8c0f
This commit is contained in:
Konstantin Tsoy
2024-09-10 11:33:55 -07:00
committed by Facebook GitHub Bot
parent bc689e6f98
commit f96cdd46a2
4 changed files with 12 additions and 0 deletions

View File

@ -745,6 +745,7 @@ void updateConnection(
VLOG(10) << nodeToString(conn.nodeType)
<< " sent conn window update in packetNum=" << packetNum << " "
<< conn;
++conn.numWindowUpdateFramesSent;
onConnWindowUpdateSent(conn, maxDataFrame.maximumData, sentTime);
break;
}
@ -765,6 +766,7 @@ void updateConnection(
VLOG(10) << nodeToString(conn.nodeType)
<< " sent packet with window update packetNum=" << packetNum
<< " stream=" << maxStreamDataFrame.streamId << " " << conn;
++conn.numWindowUpdateFramesSent;
onStreamWindowUpdateSent(
*stream, maxStreamDataFrame.maximumData, sentTime);
break;