Github user scop commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/86#discussion_r34989913
  
    --- Diff: 
artemis-protocols/artemis-stomp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/stomp/v11/StompFrameV11.java
 ---
    @@ -66,7 +66,7 @@ public ActiveMQBuffer toActiveMQBuffer() throws Exception
                 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))
    --- End diff --
    
    I don't think there's any way to know. But then again there probably isn't 
any way to know what might happen on client side if there are duplicate or 
multiple content-length headers.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to