Open kustosz opened 6 years ago
I don't know how this got closed, probably automatically after I've closed a PR in my own project mentioning this one. Just confirming the issue still stands.
Oh, I was wondering why this was closed. I don't have a macbook so unfortunately I can't reproduce this right now, hopefully someone else steps up.
Would be great to have a test case, we run CI on macOS so it should reproduce.
Hey,
I've just stumbled upon a very strange issue with the WS server. I have found this in my production app, but shaved it down to a small repro. This code:
just freezes on
WS.sendBinaryData
(i.e. right after printingsending
). A few additional remarks:a = new WebSocket("ws://127.0.0.1:34345"); a.binaryType = "arraybuffer"; a.addEventListener("message", function (e) { console.log(e.data.byteLength) });
WS.receiveData
call fixes the problems and allows me to send even larger (up to 1GB) payloads without any trouble.WS.runServer
with Snap, that did not change anything.Have you ever seen similar behavior? Is there any more information I can provide for this issue?