98c2aa433f
Netty 4.x uses pooled buffers. These buffers can run out of memory when transferring large amounts of data over connection. This was causing an OutOfMemory exception to be thrown on the CoreBridge when tranferring large messages. Netty provides a callback handler to notify listeners when a Connection is writable. This patch adds the ability to register connection writable listeners to the Netty connection and registers the relevant callback from the Bridge to avoid writing when the buffers are full. |
||
---|---|---|
.. | ||
src | ||
pom.xml |