Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
eternalirons opened this issue Oct 8, 2023 · 0 comments
Labels

Comments

@eternalirons
Copy link

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".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant