Skip to content

Commit 914f35b

Browse files
committed
fix client not notified on settings applied
1 parent ef8a020 commit 914f35b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/proto/streams/counts.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ impl Counts {
115115
pub fn apply_remote_settings(&mut self, settings: &frame::Settings) {
116116
if let Some(val) = settings.max_concurrent_streams() {
117117
self.max_send_streams = val as usize;
118-
self.remote_settings_applied = true;
119-
self.notify_remote_settings_applied()
120118
}
119+
self.remote_settings_applied = true;
120+
self.notify_remote_settings_applied()
121121
}
122122

123123
/// Run a block of code that could potentially transition a stream's state.

0 commit comments

Comments
 (0)