11 Replies Latest reply on Nov 4, 2009 11:17 AM by Tim Fox

    InVM Packet.getPacketSize() != Netty Packet.getPacketSize()

    Clebert Suconic Master

      getPacketSize() will differ between InVM and Netty. It will remove the 4 bytes use for the int size on the Netty, and it would include on Netty.

      That affected LargeMessage flow control.

      I'm changing LargeMessage to use the getRequiredBufferSize instead (the same counter used at the server side).

      I'm also extending ConsumerWindowSizeTest to a NettyConsumerWindowSizeTest. ConsumerWindowSizeTest validates flow control on both regular and large messages.