From 3c3a791794f86d58605d1c6098c249a713af2a48 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Sun, 10 Nov 2013 22:55:11 +0100 Subject: installation_proxy: Fix operations exiting before being finished due to timeout The internal status callback used a timeout of 30 seconds to receive status messages about the progress of an operation. However, slow devices or large app archives trigger this timeout causing the handler to return before the operation was actually complete. This fixes it by removing the internal timeout by waiting forever and only returning early in case of a real error. --- include/libimobiledevice/installation_proxy.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/libimobiledevice/installation_proxy.h b/include/libimobiledevice/installation_proxy.h index 1274884..18b7804 100644 --- a/include/libimobiledevice/installation_proxy.h +++ b/include/libimobiledevice/installation_proxy.h @@ -40,6 +40,7 @@ extern "C" { #define INSTPROXY_E_CONN_FAILED -3 #define INSTPROXY_E_OP_IN_PROGRESS -4 #define INSTPROXY_E_OP_FAILED -5 +#define INSTPROXY_E_RECEIVE_TIMEOUT -6 #define INSTPROXY_E_UNKNOWN_ERROR -256 /*@}*/ -- cgit v1.1-32-gdbae