1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-07-29 03:41:11 +03:00

Default to PTOing PING frames.

Summary: This kinda makes sense to just use as a default.

Reviewed By: kvtsoy, sharmafb

Differential Revision: D64066392

fbshipit-source-id: 0915f163c0483af6bec014bde61e82b6ee2ac6cb
This commit is contained in:
Matt Joras
2024-10-08 20:29:33 -07:00
committed by Facebook GitHub Bot
parent 16ca1bc87c
commit 28748bfad2
5 changed files with 2 additions and 46 deletions

View File

@ -801,9 +801,7 @@ void updateConnection(
case QuicWriteFrame::Type::PingFrame:
conn.pendingEvents.sendPing = false;
isPing = true;
if (conn.transportSettings.ptoPingFrames) {
retransmittable = true;
}
retransmittable = true;
conn.numPingFramesSent++;
break;
case QuicWriteFrame::Type::QuicSimpleFrame: {