summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-11-10 22:55:11 +0100
committerGravatar Martin Szulecki2013-11-10 22:55:11 +0100
commit3c3a791794f86d58605d1c6098c249a713af2a48 (patch)
treecd1835026ce4eef185cacf53bfe612b11d2fcb02 /include
parenta12a053190c252498f171999cf5927d782fdbcb7 (diff)
downloadlibimobiledevice-3c3a791794f86d58605d1c6098c249a713af2a48.tar.gz
libimobiledevice-3c3a791794f86d58605d1c6098c249a713af2a48.tar.bz2
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.
Diffstat (limited to 'include')
-rw-r--r--include/libimobiledevice/installation_proxy.h1
1 files changed, 1 insertions, 0 deletions
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
/*@}*/