You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, sorry for my english.
Sometimes the module can handle the request like so:
other times it splits the message in two parts and can't pass your if statement like so: .
PS. This happens in the same process with the same postMessage the only thing that change is the time 😄.
The text was updated successfully, but these errors were encountered:
I had the same issue (with firefox), the issue is that sometimes (not sure if this is firefox specific or not) Firefox will send only the size of the payload, and in its next batch of stdout spamming will send the actual payload.
So if you try to read the size off stdout each time the readable event is emitted, you'll read a garbage size.
I created a simple library which addresses the issue, I know I should have submitted a PR here instead but this issue was more than a year old with no activity so I didn't :(
Someone can easily "steal" the code from there to patch this.
Hi, sorry for my english.
Sometimes the module can handle the request like so:
other times it splits the message in two parts and can't pass your if statement like so:
.
PS. This happens in the same process with the same
postMessage
the only thing that change is the time 😄.The text was updated successfully, but these errors were encountered: