7309f2a13d
Motivation: Not always STOMP frames contain any payload some times it just headers. So we wan't allocate additional buffer with NULL content for this situation. Modification: Modify StompSubframeEncoder to check if content is readable or not. If content is not readable just add NULL byte to encoded header buffer. Result: Less allocations |
||
---|---|---|
.. | ||
main/java/io/netty/handler/codec/stomp | ||
test/java/io/netty/handler/codec/stomp |