Skip to content

WebSocketPeer closing silently #5

Description

@J-Klinke

Hi, i'm not entirely sure that this is an issue concerning your plugin rather that concerning the WebSocketPeer class.

However, if you send a message larger than WebSocketPeer's inbound_buffer_size the WebSocketPeer started by your Plugin just silently closes.

I think it would be very nice to print _websocket.get_close_reason() if this happens (to the error/warnig log)? in engineio.gd line 73

I spent quite a lot of time trying to figure out why the connection stopped.

cheers!
Jules

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions