Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Large payloads aren't transfered properly #1

Closed
nesk opened this issue Mar 20, 2018 · 1 comment
Closed

Large payloads aren't transfered properly #1

nesk opened this issue Mar 20, 2018 · 1 comment

Comments

@nesk
Copy link
Member

nesk commented Mar 20, 2018

As stated in rialto-php/puphpeteer#2, there are some issues if the payload transfered from Node to PHP is too large. It seems to happen when the payload exceeds ~10000 bytes. A first part of it is received by PHP, and the second part is received on the next socket read, which messes everything.

@nesk
Copy link
Member Author

nesk commented Apr 9, 2018

Fixed with b66241a. The issue was not only about payload length, it occured when the payload exceeded the socket packet size and contained non-ASCII characters.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant