1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-07-30 14:43:05 +03:00

Remove temporary setting for rejecting quic key updates

Summary: This setting is no longer needed.

Reviewed By: mjoras

Differential Revision: D57112554

fbshipit-source-id: 4720dd864f24ac21a775419522254195c5ea215f
This commit is contained in:
Joseph Beshay
2024-05-09 18:08:14 -07:00
committed by Facebook GitHub Bot
parent 54c2913526
commit 8bfd2d1d66
2 changed files with 1 additions and 8 deletions

View File

@ -1946,10 +1946,6 @@ void updateOneRttWriteCipher(
void maybeHandleIncomingKeyUpdate(QuicConnectionStateBase& conn) {
if (conn.readCodec->getCurrentOneRttReadPhase() != conn.oneRttWritePhase) {
// Peer has initiated a key update.
if (conn.transportSettings.rejectIncomingKeyUpdates) {
throw QuicTransportException(
"key update attempt rejected", TransportErrorCode::CRYPTO_ERROR);
}
updateOneRttWriteCipher(
conn,
conn.handshakeLayer->getNextOneRttWriteCipher(),