Upon receiving a stream on the server from the client, I get this error printed by the error handler attached to your Binary.js client inside of the binaryserver.on('connection', function(client){}) event listener:
Received unparsable message: RangeError: Maximum call stack size exceeded
Received data message for unknown stream: 2
Received data message for unknown stream: 2
Received data message for unknown stream: 2
Received end message for unknown stream: 2
I get these messages just as if they had worked, except that they are passed to the error callback instead of onData and onEnd like they should be.
The only thing I can think of is that I have modified the prototypes for native types a little bit. I added a .replaceAll to String.prototype (on the clientside) and a .bindArgs to Function.prototype. Could that be causing this issue?
Reactions are currently unavailable
Upon receiving a stream on the server from the client, I get this error printed by the error handler attached to your Binary.js client inside of the binaryserver.on('connection', function(client){}) event listener:
Received unparsable message: RangeError: Maximum call stack size exceeded
Received data message for unknown stream: 2
Received data message for unknown stream: 2
Received data message for unknown stream: 2
Received end message for unknown stream: 2
I get these messages just as if they had worked, except that they are passed to the error callback instead of onData and onEnd like they should be.
The only thing I can think of is that I have modified the prototypes for native types a little bit. I added a .replaceAll to String.prototype (on the clientside) and a .bindArgs to Function.prototype. Could that be causing this issue?