From 7077e70e246d691155c28d691bb3661cefd60a31 Mon Sep 17 00:00:00 2001 From: Jackson Coxson Date: Tue, 17 Feb 2026 07:41:17 -0700 Subject: [PATCH] Send weird flags after opening reply stream --- idevice/src/xpc/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/idevice/src/xpc/mod.rs b/idevice/src/xpc/mod.rs index 581afd7..7b897bc 100644 --- a/idevice/src/xpc/mod.rs +++ b/idevice/src/xpc/mod.rs @@ -53,10 +53,6 @@ impl RemoteXpcClient { )) .await?; - debug!("Sending weird flags"); - self.send_root(XPCMessage::new(Some(XPCFlag::Custom(0x201)), None, None)) - .await?; - debug!("Opening reply stream"); self.h2_client.open_stream(REPLY_CHANNEL).await?; self.send_reply(XPCMessage::new( @@ -66,6 +62,10 @@ impl RemoteXpcClient { )) .await?; + debug!("Sending weird flags"); + self.send_root(XPCMessage::new(Some(XPCFlag::Custom(0x201)), None, None)) + .await?; + Ok(()) }