mirror of
https://github.com/facebookincubator/mvfst.git
synced 2026-01-06 03:41:10 +03:00
Separate app-limited and app-idle
Summary: Current app-limited is defined as the connection doesn't have a no non-control stream. I'm changing this to be app-idle. And app-limited will be changed to a state in connection where app isn't sending bytes fast enough to keep congestion controller probing higher bandwidth. Reviewed By: mjoras Differential Revision: D15456199 fbshipit-source-id: e084bc133284ae37ee6da8ebb3c12f505011521e
This commit is contained in:
committed by
Facebook Github Bot
parent
41a6b82538
commit
1dbe39fd76
@@ -366,7 +366,8 @@ void updateConnection(
|
||||
packetNum,
|
||||
(uint64_t)encodedSize,
|
||||
(int)isHandshake,
|
||||
(int)pureAck);
|
||||
(int)pureAck,
|
||||
pkt.isAppLimited);
|
||||
conn.lossState.largestSent = std::max(conn.lossState.largestSent, packetNum);
|
||||
if (conn.congestionController && !pureAck) {
|
||||
conn.congestionController->onPacketSent(pkt);
|
||||
|
||||
Reference in New Issue
Block a user