From 83c931bd0486265dda735e61fb62aac521a444d4 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Mon, 19 Aug 2013 04:02:26 +0200 Subject: 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. --- src/webinspector.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/webinspector.h') 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; }; -- cgit v1.1-32-gdbae