netty5/codec-stomp
Andrey Mizurov 7309f2a13d
Fix allocate additional buffer for encoding stompFrame without readab… (#10150)
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
2020-03-31 16:02:06 +02:00
..
src Fix allocate additional buffer for encoding stompFrame without readab… (#10150) 2020-03-31 16:02:06 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2020-03-17 09:20:54 +00:00