Skip to content

Send empty payload to webinspectord after each message on real devices - #429

Merged
artygus merged 3 commits into
masterfrom
ag/fix-sending-large-wi-payloads
Jun 14, 2025
Merged

Send empty payload to webinspectord after each message on real devices#429
artygus merged 3 commits into
masterfrom
ag/fix-sending-large-wi-payloads

Conversation

@artygus

@artygus artygus commented Jun 14, 2025

Copy link
Copy Markdown
Contributor

I'm observing a strange behavior when devtools command gets sent, but not being processed by the remote device. After sending the next command, previous gets processed and so it goes always lagging one command behind. Only seem to happen with relatively big payloads (>= 30kb in my tests). Doesn't seem to happen on emulator even with 30mb payloads.

My first hunch was TLS, however switching to gnutls didn't help anyhow. Another thing I tried is putting socket back to blocking mode - no luck.

Should possibly fix #428.

@artygus
artygus merged commit 9172bda into master Jun 14, 2025
@artygus
artygus deleted the ag/fix-sending-large-wi-payloads branch June 14, 2025 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Process hangs when injecting large code blocks using Runtime.evaluate

1 participant