You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 7, 2019. It is now read-only.
Currently frames are read until the END_OF_FRAME marker defined as \x00\n. This is not entirely correct while reading. This end of frame is allowed for sending frames but not for reading. The correct end of frame marker is defined as \x00\n*, ie the NULL character optionally followed by any amount of newlines.
The current way of reading is not really suited as we read per new line. Thus we could timeout waiting on a NULL that is never followed by a newline. Or we could read the current frame NULL terminated and the COMMAND of the next frame that may directly follow it.
This can be prevented with ActiveMQ instructing the server to sent only one frame and then wait for an acknowledgement, but not all servers may support this. On top of that it may hurt performance.