Skip to content

iOS13 ios-webkit-debug-proxy will disconnected Once the Json is over 200k #344

Closed
@liu6x6

Description

@liu6x6

hi there
today i found an issue on iOS13, and i am using the wdp_client.html to send json string to the safari. Once the JSON size is over than 200KB, then iOS-webkit-debug-proxy will disconnected.

the error logs like:
_

ss.sendq<0x7fb70d504630> new fd=10 recv_fd=14 length=200416, prev=<0x0>
ss.sendq<0x7fb70d504630> disable recv_fd=14
ss.sendq<0x7fb70d504630> resume send to fd=10 len=200416
ssl sendq retry failed: Undefined error: 0
ss.remove_fd(10)
Disconnected :9222 from xiao’s iPhone (9cd6921d1f5f908f06f295b52b0346aacca81234)
ss.remove_server_fd(5)
ss.remove_fd(14)
ss.remove_fd(9)
ss.remove_fd(12)
ss.remove_fd(11)
ss.remove_fd(13)
^Css.remove_server_fd(3)
ss.remove_fd(4)

_

my json command look like:

{"id":8,"method":"Target.sendMessageToTarget","params":{"objectGroup":"console","includeCommandLineAPI":true,"doNotPauseOnExceptionsAndMuteConsole":true,"message":"{"method":"Runtime.evaluate","params":{"expression":"var func = function(){console.debug(\"touch\");console.debug(\"touch\"); ...
;}, true);};func();"},"id":8}","id":8,"targetId":"page-6"}}

I add lot of console.debug(\"touch\"); to make sure the json size is big enough.
it's the SSL problem? how can i fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions