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

Iterate QuicVersion::MVFST

Summary:
This iterates the mvfst version to be semantically equivalent to draft-27, and leaves support for the old mvfst version.

The client will not yet be moved to draft-27 by default.

Reviewed By: lnicco

Differential Revision: D20182452

fbshipit-source-id: 1e11ad7296a6cd8d15ca5ed359d9ed82af79bb17
This commit is contained in:
Matt Joras
2020-03-04 22:05:03 -08:00
committed by Facebook Github Bot
parent ef92376cb0
commit d1a3652a4c
12 changed files with 30 additions and 20 deletions

View File

@@ -263,7 +263,7 @@ void updateHandshakeState(QuicServerConnectionState& conn) {
auto doneTime = conn.readCodec->getHandshakeDoneTime();
if (!doneTime) {
conn.readCodec->onHandshakeDone(Clock::now());
if (conn.version == QuicVersion::QUIC_DRAFT) {
if (conn.version != QuicVersion::MVFST_D24) {
sendSimpleFrame(conn, HandshakeDoneFrame());
}
}