Skip to content

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

@eternalirons

Description

@eternalirons

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions