mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-10 21:22:20 +03:00
Back out "Revert D15264935: [quic] Make RetireConnectionIdFrame a QuicSimpleFrame (for now)"
Summary: Original commit changeset: aa2ccf4bb39e Reviewed By: lnicco Differential Revision: D17688496 fbshipit-source-id: e627784cdfe208994cbae3f71062d74d312d3600
This commit is contained in:
committed by
Facebook Github Bot
parent
6624d11c1a
commit
fa98978d6d
@@ -66,6 +66,10 @@ folly::Optional<QuicSimpleFrame> updateSimpleFrameOnPacketClone(
|
||||
},
|
||||
[&](const MaxStreamsFrame& frame) -> folly::Optional<QuicSimpleFrame> {
|
||||
return QuicSimpleFrame(frame);
|
||||
},
|
||||
[&](const RetireConnectionIdFrame&) -> folly::Optional<QuicSimpleFrame> {
|
||||
// TODO junqiw
|
||||
return folly::none;
|
||||
});
|
||||
}
|
||||
|
||||
@@ -130,6 +134,9 @@ void updateSimpleFrameOnPacketLoss(
|
||||
},
|
||||
[&](const MaxStreamsFrame& frame) {
|
||||
conn.pendingEvents.frames.push_back(frame);
|
||||
},
|
||||
[&](const RetireConnectionIdFrame&) {
|
||||
// TODO junqiw
|
||||
});
|
||||
}
|
||||
|
||||
@@ -192,6 +199,10 @@ bool updateSimpleFrameOnPacketReceived(
|
||||
maxStreamsFrame.maxStreams);
|
||||
}
|
||||
return true;
|
||||
},
|
||||
[&](const RetireConnectionIdFrame&) {
|
||||
// TODO junqiw
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user