Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for large messages #19

Closed
coreyperkins opened this issue Sep 15, 2016 · 0 comments
Closed

Support for large messages #19

coreyperkins opened this issue Sep 15, 2016 · 0 comments
Labels

Comments

@coreyperkins
Copy link

The onData and receiveMessage functions in connection.js need to use streams to support large messages.

messageLength: 4294967299
UNCAUGHT EXCEPTION!!!!!
[RangeError: Invalid typed array length]
RangeError: Invalid typed array length
at new Uint8Array (native)
at createBuffer (buffer.js:23:15)
at allocate (buffer.js:98:12)
at new Buffer (buffer.js:53:12)
at Socket.onData (/Users/Corey/GitHub/UpdecSync/node_modules/event-store-client/lib/connection.js:92:47)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:153:18)
at Socket.Readable.push (_stream_readable.js:111:10)
at TCP.onread (net.js:531:20)

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

No branches or pull requests

2 participants