If compression is enabled on client and server, the client acceptor fails with ArrayIndexOutOfBoundsException if it tries to access properties of ConnectionSetupPayload.
I have noticed that the server acceptor has no trouble reading the ConnectionSetupPayload so it must be something client-side related, and it could be deeper in Reactor Netty.
If compression is enabled on client and server, the client acceptor fails with
ArrayIndexOutOfBoundsException
if it tries to access properties ofConnectionSetupPayload
.Here is the diff with changes to the WebSocketAggregationSample to demonstrate the issue:
I have noticed that the server acceptor has no trouble reading the
ConnectionSetupPayload
so it must be something client-side related, and it could be deeper in Reactor Netty.This was originally reported in https://github.com/spring-projects/spring-framework/issues/27973 by @ekuleshov but the issue can be demonstrated without Spring.