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
RangeError: Index out of range
at checkInt (buffer.js:1045:11)
at Buffer.writeUInt8 (buffer.js:1091:5)
at encodeTable (codec.js:83:18)
at encodeBasicProperties (defs.js:2773:11)
at module.exports.encodeProperties (defs.js:3544:12)
at Connection.C.sendMessage (connection.js:542:16)
at Channel.C.sendMessage (channel.js:85:26)
at Channel.publish (callback_model.js:171:17)
at Channel.sendToQueue (callback_model.js:175:15)
I need to be able to pass a large encrypted string as a header when sending messages. Below is the code used to send the message,
And here is the exception that is thrown.
I believe the issue is here
https://github.com/squaremo/amqp.node/blob/master/bin/generate-defs.js#L125
Increasing the SCRATCH buffer size fixes the issue, but maybe this value shouldn't be hard coded?
The text was updated successfully, but these errors were encountered: