Skip to content

Handshake with protocol fails for some WebSocket servers #61

@ghost

Description

I was attempting to switch from tokio_tungstenite to ratchet_rs primarily because this library supports per-message deflate. However, the library does not appear to work for some WebSocket servers as it fails on the handshake.

Here is a minimum reproducible example: https://gist.github.com/eqiy/7de3c543d92dacefafd5551a36211b02

I am not entirely sure of the reason, but I can't reproduce the issue on any other library even across different programming languages, so something ratchet_rs is doing is unique.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions