432e2ce178
There is a race condition in the ProtonHandlerImpl.outputBuffer() method. The method checks to see how many bytes (n) are pending in the underlying ProtonJ buffer, then creates a Netty buffer of size n. It then writes the contents of the pending ProtonJ head. However, ProtonJ can still write to it's internal buffer, meaning that it's buffer.size > n causing an illegalArgumentException. This patch fixes it by only writing 'n' bytes to the Netty buffer. |
||
---|---|---|
.. | ||
artemis-amqp-protocol | ||
artemis-hornetq-protocol | ||
artemis-hqclient-protocol | ||
artemis-mqtt-protocol | ||
artemis-openwire-protocol | ||
artemis-proton-plug | ||
artemis-stomp-protocol | ||
pom.xml |