mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-23 19:48:19 +00:00
Fix missing wakeups on large stream credit increase
This commit is contained in:
committed by
Dirkjan Ochtman
parent
49b2620132
commit
5fa3581edb
@@ -930,7 +930,8 @@ impl ConnectionInner {
|
||||
}
|
||||
}
|
||||
Stream(StreamEvent::Available { dir }) => {
|
||||
self.stream_opening[dir as usize].notify_one();
|
||||
// Might mean any number of streams are ready, so we wake up everyone
|
||||
self.stream_opening[dir as usize].notify_waiters();
|
||||
}
|
||||
Stream(StreamEvent::Finished { id }) => {
|
||||
if let Some(finishing) = self.finishing.remove(&id) {
|
||||
|
||||
Reference in New Issue
Block a user