mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-03-03 07:49:24 +00:00
This closes #86 content-length change on stomp
This commit is contained in:
commit
fbfdacde66
@ -66,7 +66,7 @@ public class StompFrameV11 extends StompFrame
|
||||
head.append(h.getEncodedValue());
|
||||
head.append(Stomp.NEWLINE);
|
||||
}
|
||||
if (bytesBody != null && bytesBody.length > 0)
|
||||
if (bytesBody != null && bytesBody.length > 0 && !hasHeader(Stomp.Headers.CONTENT_LENGTH))
|
||||
{
|
||||
head.append(Stomp.Headers.CONTENT_LENGTH);
|
||||
head.append(Stomp.Headers.SEPARATOR);
|
||||
|
Loading…
x
Reference in New Issue
Block a user