1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-11-10 21:22:20 +03:00

Make RetireConnectionIdFrame a QuicSimpleFrame (for now)

Reviewed By: sharma95

Differential Revision: D15264935

fbshipit-source-id: 8c66c4604e24442f4c77e8eb2d10901d1702adc7
This commit is contained in:
Viktor Chynarov
2019-09-30 17:38:20 -07:00
committed by Facebook Github Bot
parent f797bb2354
commit 0ab06b6fc9
6 changed files with 57 additions and 5 deletions

View File

@@ -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;
});
}