summaryrefslogtreecommitdiff
path: root/tools/idevicedebugserverproxy.c
Commit message (Collapse)AuthorAgeFilesLines
* idevicedebugserverproxy: Add support for 'qLaunchGDBServer' command of lldbRuipu Ma2022-07-031-2/+31
|
* tools: Use getopt for option parsing in all toolsNikias Bassen2022-04-301-49/+56
|
* idevicedebugserverproxy: Allow binding to any available portElias Naur2022-03-291-8/+18
| | | | | | | | | | | | To eliminate crosstalk between multiple proxies and their clients, add support for binding to any free port provided by the OS to idevicedebugserverproxy. To bind to any port, leave out the port argument to idevicedebugserverproxy. In that case, the proxy will print out a line with the port so clients can connect to it. This is useful for a CI macOS host with multiple iDevices connected, and where many independent tests each want their own proxy instance connected to a particular device.
* Remove common code in favor of new libimobiledevice-glueNikias Bassen2021-09-011-2/+2
|
* Remove redundent `select` call from idevicedebugserverproxy.cNisarg Jhaveri2021-02-171-9/+2
| | | | | - Turns out `socket_receive` anyway internally calls `select` again. Use `socket_receive_timeout` instead. - Remove logging for timeout in socket.c as well, it is not really an error condition
* tools: Flip order of winsock2.h and windows.h in idevicedebugserverproxy to ↵Nikias Bassen2021-02-031-1/+1
| | | | get rid of compiler warning
* tools: Fix delays in idevicedebugserverproxy when using SSLNikias Bassen2021-02-031-23/+23
| | | | | | Turns out using select() wasn't the best idea for the debugserver connection. libimobildevice already does select internally, and doing it here again would cause delays especially when transferring larger amounts of data.
* tools: Fix idevicedebugserverproxy compilation on WindowsNikias Bassen2021-02-031-0/+5
|
* tools: Improve idevicedebugserverproxy with select() and less threadsNikias Bassen2021-02-011-135/+61
|
* common: Merge socket changes from libusbmuxdNikias Bassen2020-12-301-1/+1
|
* tools: Unify --network command line switch and add it where missingNikias Bassen2020-06-051-3/+9
|
* tools: Add --version command line switchNikias Bassen2020-06-051-2/+9
|
* Unify usage output in all tools and add bugreport URLMartin Szulecki2020-06-041-2/+6
|
* common: Update thread.c/.h to match the one from libusbmuxdNikias Bassen2019-06-111-3/+3
|
* tools: Remove length check on device UDID arguments to support newer devicesNikias Bassen2018-10-011-2/+2
| | | | | | | The 40 characters length check on the device UDID made newer devices unusable with the libimobiledevice tools and was actually redundant since an invalid UDID will always fail to resolve. This commit removes the length check alltogether (but makes sure it is not an empty string "").
* idevicedebugserverproxy: Fix possible use-after-freeBastien Nocera2018-07-241-1/+1
| | | | | | When creating a connection handler thread fails, and we close the server_fd, do not loop back to the start of the loop trying to run socket_accept() on a closed fd, but break out of the loop instead.
* tools: Use PACKAGE_URL define for homepage project links in usage outputMartin Szulecki2015-10-061-1/+5
|
* Remove trailing whitespace errors from all filesMartin Szulecki2015-01-281-3/+3
|
* tools: Add link to project homepage on usage outputMartin Szulecki2015-01-271-0/+1
|
* idevicedebugserverproxy: Properly handle server shutdownNikias Bassen2015-01-221-45/+75
|
* idevicedebugserverproxy: Use debugserver service and fix reconnecting to itMartin Szulecki2015-01-161-71/+46
| | | | | As the debugserver exits after a detach or disconnect, we need to ensure to start it again upon a new client connection.
* thread: Introduce thread_new and thread_free to cover handle leaks on WIN32Martin Szulecki2015-01-131-3/+9
|
* tools: Make sure to print an error when lockdown connection failsNikias Bassen2014-10-111-2/+3
|
* move thread and socket code to "common" subdirNikias Bassen2013-03-201-2/+2
|
* global: make sure to check service before checking service->port to prevent ↵Nikias Bassen2013-03-141-1/+1
| | | | crashes
* Refactor port number use into service descriptor to enable SSL for servicesMartin Szulecki2013-02-261-5/+10
| | | | | This is a major change which breaks API but is required in order to support SSL communication for services as used by network connections.
* idevicedebugserverproxy: Fix irritating and wrong debug messageMartin Szulecki2013-02-231-1/+1
|
* tools: use pointer instead of static buffer for UDID since it can start with '0'Nikias Bassen2012-11-291-16/+8
|
* idevicedebugserver: fix small bug in error messageNikias Bassen2012-11-291-1/+1
|
* Add new idevicedebugserverproxy toolMartin Szulecki2012-10-211-0/+374