The StompEncoder writes a "content-length" header for STOMP frames that have a body. If however the message already contains such a header the result is two such headers in the serialized output.
In most cases an application sends messages through SimpMessagingTemplate or by returning from an @MessageMapping method. In both cases the content-length header is not set so this is unlikely to affect applications.
Rossen Stoyanchev opened SPR-11984 and commented
The
StompEncoder
writes a "content-length" header for STOMP frames that have a body. If however the message already contains such a header the result is two such headers in the serialized output.In most cases an application sends messages through SimpMessagingTemplate or by returning from an
@MessageMapping
method. In both cases the content-length header is not set so this is unlikely to affect applications.Affects: 4.0.6
Referenced from: commits b318880
The text was updated successfully, but these errors were encountered: