summaryrefslogtreecommitdiffstats
path: root/src/webinspector.h
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-08-19 04:02:26 +0200
committerGravatar Martin Szulecki2013-08-19 04:02:26 +0200
commit83c931bd0486265dda735e61fb62aac521a444d4 (patch)
treec15779f80a33b6650fc389ceda0ba029e374e6cb /src/webinspector.h
parent3d1de1b31ec2bd5e9db93dea8522743b1627675e (diff)
downloadlibimobiledevice-83c931bd0486265dda735e61fb62aac521a444d4.tar.gz
libimobiledevice-83c931bd0486265dda735e61fb62aac521a444d4.tar.bz2
webinspector: Implement support for partial messages when sending or receiving
The protocol appears to split plist payload on 8096 bytes boundries into multiple WIRPartialMessage messages. Now partial messages are correctly decoded during receiving and split automatically when sending large messages by the implementation.
Diffstat (limited to 'src/webinspector.h')
-rw-r--r--src/webinspector.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/webinspector.h b/src/webinspector.h
index ab04a70..3c8e695 100644
--- a/src/webinspector.h
+++ b/src/webinspector.h
@@ -25,6 +25,8 @@
#include "libimobiledevice/webinspector.h"
#include "property_list_service.h"
+#define WEBINSPECTOR_PARTIAL_PACKET_CHUNK_SIZE 8096
+
struct webinspector_client_private {
property_list_service_client_t parent;
};