Skip to content

Conversation

@moonlight824
Copy link

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for remote usbmux connections and ensures proper connection cleanup in the fetch method. The changes enable connecting to iOS devices through a remote usbmux server by introducing a new URL scheme http+usbmux+remote.

Key changes:

  • Added usbmux_address parameter propagation through the connection chain to support remote usbmux servers
  • Implemented parsing and handling of the new http+usbmux+remote URL scheme
  • Added connection cleanup in the fetch method's finally block to prevent resource leaks

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
wda/usbmux/pyusbmux.py Added usbmux_address parameter to make_http_connection method and USBMuxHTTPConnection class to support remote usbmux connections
wda/usbmux/init.py Added URL parsing for http+usbmux+remote scheme and connection cleanup in the finally block of the fetch method
wda/init.py Updated URL validation regex to accept the new http+usbmux+remote scheme

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants