vertx-stomp icon indicating copy to clipboard operation
vertx-stomp copied to clipboard

The server send an error frame, then the client occur exception "Size must be > 0"

Open eternalirons opened this issue 1 year ago • 0 comments

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. image image image

Steps to reproduce

  1. The client has connected to the server.
  2. The client send stomp frame again.
  3. The client occur exception "Size must be > 0".

eternalirons avatar Oct 08 '23 08:10 eternalirons