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:
committed by
Facebook Github Bot
parent
ef92376cb0
commit
d1a3652a4c
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user