rabbitmq-dotnet-client icon indicating copy to clipboard operation
rabbitmq-dotnet-client copied to clipboard

MaxMessageSize actually limits frame size

Open lukebakken opened this issue 1 year ago • 0 comments

Describe the bug

PR #1220's intent is to prevent large allocations due to bad incoming data, or large messages. The fix checks that the individual frame's size does not exceed the maximum message size, but it does not take into account the case where a large message is split into multiple frames. When combined, the message body may exceed the max message size.

Related to https://github.com/rabbitmq/rabbitmq-java-client/issues/1062

Reproduction steps

N/A

Expected behavior

N/A

Additional context

N/A

lukebakken avatar Jun 14 '23 16:06 lukebakken