vertx-stomp
vertx-stomp copied to clipboard
The server send an error frame, then the client occur exception "Size must be > 0"
Questions
The server send an error frame, then the client occur exception "Size must be > 0"
Version
4.4.3~4.4.5
Context
I encountered an exception which looks suspicious while a connection has connected, the client sends a stomp frame again, then the server will send an error frame with empty body. However , error frame will be "content-length" head, and the value is 0 because of empty body, then while the client read the error frame will occur an exception "java.lang.IllegalArgumentException: Size must be > 0", because content length is 0.
Steps to reproduce
- The client has connected to the server.
- The client send stomp frame again.
- The client occur exception "Size must be > 0".