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

Unconditionally defer control of writing session tickets to quic layer.

Summary: There is no reason to let the TLS layer control this.

Reviewed By: jbeshay

Differential Revision: D51267586

fbshipit-source-id: 6f70b7f6ba51a9a022195f7e2c1683b5323fde7a
This commit is contained in:
Kyle Nekritz
2023-11-29 18:06:03 -08:00
committed by Facebook GitHub Bot
parent e6085c04a6
commit 8c68b18df3
4 changed files with 9 additions and 12 deletions

View File

@@ -4043,13 +4043,14 @@ TEST_F(
std::vector<int> indices =
getQLogEventIndices(QLogEventType::TransportStateUpdate, qLogger);
EXPECT_EQ(indices.size(), 4);
std::array<::std::string, 4> updateArray = {
EXPECT_EQ(indices.size(), 5);
std::array<::std::string, 5> updateArray = {
kDerivedZeroRttReadCipher,
kDerivedOneRttWriteCipher,
kTransportReady,
kDerivedOneRttReadCipher};
for (int i = 0; i < 4; ++i) {
kDerivedOneRttReadCipher,
kWriteNst};
for (int i = 0; i < 5; ++i) {
auto tmp = std::move(qLogger->logs[indices[i]]);
auto event = dynamic_cast<QLogTransportStateUpdateEvent*>(tmp.get());
EXPECT_EQ(event->update, updateArray[i]);