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:
committed by
Facebook GitHub Bot
parent
54c2913526
commit
8bfd2d1d66
@ -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(),
|
||||
|
Reference in New Issue
Block a user