diff options
Diffstat (limited to 'vendor/h2/src/proto/connection.rs')
-rw-r--r-- | vendor/h2/src/proto/connection.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/h2/src/proto/connection.rs b/vendor/h2/src/proto/connection.rs index 727643a65..637fac358 100644 --- a/vendor/h2/src/proto/connection.rs +++ b/vendor/h2/src/proto/connection.rs @@ -145,7 +145,9 @@ where /// connection flow control pub(crate) fn set_target_window_size(&mut self, size: WindowSize) { - self.inner.streams.set_target_connection_window_size(size); + let _res = self.inner.streams.set_target_connection_window_size(size); + // TODO: proper error handling + debug_assert!(_res.is_ok()); } /// Send a new SETTINGS frame with an updated initial window size. |