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 {