Fix ordinary Noise handshake races

This commit is contained in:
jack
2026-07-26 02:09:31 +02:00
parent 6e026c2c22
commit b255355fed
10 changed files with 1850 additions and 129 deletions
+6
View File
@@ -13,3 +13,9 @@ enum NoiseSessionError: Error, Equatable {
case alreadyEstablished
case peerIdentityMismatch
}
/// The manager owns the exact attempt's one bounded recovery. Packet handling
/// must not launch its historical second, immediate restart for this failure.
struct NoiseManagedHandshakeFailure: Error {
let underlying: Error
}