mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-08-01 01:44:22 +03:00
Add option to allow PTOing pure PING packets.
Summary: As in title. Without this the keepalive option is less effective since a single PING packet loss can cause issues. Reviewed By: kvtsoy Differential Revision: D63397494 fbshipit-source-id: 7ef6b6f54189609e3a96409ac9c035c475dc0569
This commit is contained in:
committed by
Facebook GitHub Bot
parent
cc3e42da5e
commit
baf0544fc1
@ -784,6 +784,9 @@ void updateConnection(
|
||||
case QuicWriteFrame::Type::PingFrame:
|
||||
conn.pendingEvents.sendPing = false;
|
||||
isPing = true;
|
||||
if (conn.transportSettings.ptoPingFrames) {
|
||||
retransmittable = true;
|
||||
}
|
||||
break;
|
||||
case QuicWriteFrame::Type::QuicSimpleFrame: {
|
||||
const QuicSimpleFrame& simpleFrame = *frame.asQuicSimpleFrame();
|
||||
|
Reference in New Issue
Block a user