mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-24 12:13:05 +00:00
Fix CRYPTO frames never being retransmitted
This commit is contained in:
@@ -593,6 +593,7 @@ impl Connection {
|
||||
self.handshake_pending += info.retransmits;
|
||||
self.bytes_in_flight -= info.bytes as u64;
|
||||
}
|
||||
debug_assert!(!self.handshake_pending.is_empty());
|
||||
self.handshake_count += 1;
|
||||
} else if self.loss_time != 0 {
|
||||
// Early retransmit or Time Loss Detection
|
||||
@@ -2543,6 +2544,7 @@ impl ::std::ops::AddAssign for Retransmits {
|
||||
self.rst_stream.extend_from_slice(&rhs.rst_stream);
|
||||
self.stop_sending.extend_from_slice(&rhs.stop_sending);
|
||||
self.max_stream_data.extend(&rhs.max_stream_data);
|
||||
self.crypto.extend(rhs.crypto.into_iter());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user