summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2018-06-27 02:47:21 +0200
committerGravatar Nikias Bassen2020-02-17 12:39:11 +0100
commit56527f070cefbbddf392ba3897e3318fc2f2db9f (patch)
tree4be20ed76c38695147ed50e56e7ed44a5c585a00
parent45d78564fdced5aeca5e570404e7e968c36918f0 (diff)
downloadlibimobiledevice-56527f070cefbbddf392ba3897e3318fc2f2db9f.tar.gz
libimobiledevice-56527f070cefbbddf392ba3897e3318fc2f2db9f.tar.bz2
Increase timeout for service receive methods
-rw-r--r--src/property_list_service.c2
-rw-r--r--src/service.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/property_list_service.c b/src/property_list_service.c
index 9d47fd6..f0fc830 100644
--- a/src/property_list_service.c
+++ b/src/property_list_service.c
@@ -265,7 +265,7 @@ LIBIMOBILEDEVICE_API property_list_service_error_t property_list_service_receive
LIBIMOBILEDEVICE_API property_list_service_error_t property_list_service_receive_plist(property_list_service_client_t client, plist_t *plist)
{
- return internal_plist_receive_timeout(client, plist, 10000);
+ return internal_plist_receive_timeout(client, plist, 30000);
}
LIBIMOBILEDEVICE_API property_list_service_error_t property_list_service_enable_ssl(property_list_service_client_t client)
diff --git a/src/service.c b/src/service.c
index 091b599..1b9838d 100644
--- a/src/service.c
+++ b/src/service.c
@@ -176,7 +176,7 @@ LIBIMOBILEDEVICE_API service_error_t service_receive_with_timeout(service_client
LIBIMOBILEDEVICE_API service_error_t service_receive(service_client_t client, char* data, uint32_t size, uint32_t *received)
{
- return service_receive_with_timeout(client, data, size, received, 10000);
+ return service_receive_with_timeout(client, data, size, received, 30000);
}
LIBIMOBILEDEVICE_API service_error_t service_enable_ssl(service_client_t client)