mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-10 21:22:20 +03:00
Make NewConnectionIdFrame a QuicSimpleFrame (for now)
Summary: The plan is to not treat probing frame as simple frame, but that is not going to happen soon. Reviewed By: sharma95 Differential Revision: D15176635 fbshipit-source-id: 62ac13cdb82a09161e9148dfc437cf7377a01c96
This commit is contained in:
committed by
Facebook Github Bot
parent
42b848e1e5
commit
87672083c3
@@ -58,6 +58,10 @@ folly::Optional<QuicSimpleFrame> updateSimpleFrameOnPacketClone(
|
||||
},
|
||||
[&](const PathResponseFrame& frame) -> folly::Optional<QuicSimpleFrame> {
|
||||
return QuicSimpleFrame(frame);
|
||||
},
|
||||
[&](const NewConnectionIdFrame&) -> folly::Optional<QuicSimpleFrame> {
|
||||
// TODO junqiw
|
||||
return folly::none;
|
||||
});
|
||||
}
|
||||
|
||||
@@ -116,6 +120,9 @@ void updateSimpleFrameOnPacketLoss(
|
||||
},
|
||||
[&](const PathResponseFrame& frame) {
|
||||
conn.pendingEvents.frames.push_back(frame);
|
||||
},
|
||||
[&](const NewConnectionIdFrame&) {
|
||||
// TODO junqiw
|
||||
});
|
||||
}
|
||||
|
||||
@@ -164,6 +171,10 @@ bool updateSimpleFrameOnPacketReceived(
|
||||
conn.pendingEvents.schedulePathValidationTimeout = false;
|
||||
conn.writableBytesLimit = folly::none;
|
||||
return false;
|
||||
},
|
||||
[&](const NewConnectionIdFrame&) {
|
||||
// TODO junqiw
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user