From 660b459f89e41cd0bd2c02af8e8a692502b7bf31 Mon Sep 17 00:00:00 2001 From: Jackson Coxson Date: Fri, 18 Jul 2025 23:45:42 -0600 Subject: [PATCH] Send window updates after data --- idevice/src/xpc/http2/mod.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/idevice/src/xpc/http2/mod.rs b/idevice/src/xpc/http2/mod.rs index ea0e473..b6ff0b1 100644 --- a/idevice/src/xpc/http2/mod.rs +++ b/idevice/src/xpc/http2/mod.rs @@ -111,6 +111,13 @@ impl Http2Client { data_frame.stream_id, data_frame.payload.len() ); + + if data_frame.stream_id % 2 == 0 { + self.window_update(data_frame.payload.len() as u32, 0) + .await?; + self.window_update(data_frame.payload.len() as u32, data_frame.stream_id) + .await?; + } if data_frame.stream_id == stream_id { return Ok(data_frame.payload); } else {