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

Ship empty PTO fix

Summary: Ship empty PTO fix

Reviewed By: mjoras

Differential Revision: D36534424

fbshipit-source-id: a1ce2f8a48d947dccd96c677dec20bbc1659c150
This commit is contained in:
Konstantin Tsoy
2022-05-23 11:25:26 -07:00
committed by Facebook GitHub Bot
parent 33b24ecbb6
commit 1a07e916eb

View File

@ -804,7 +804,7 @@ SchedulingResult CloningScheduler::scheduleFramesForPacket(
// now.
bool hasData = frameScheduler_.hasData();
if (conn_.version.has_value() &&
conn_.version.value() == QuicVersion::MVFST_EXPERIMENTAL2) {
conn_.version.value() != QuicVersion::QUIC_V1) {
hasData = frameScheduler_.hasImmediateData();
}
if (hasData) {