Skip to content

Frame continuation ops code closes the websocket pipe reader prematurely. #133

Open
@struktured

Description

@struktured

The react function, which is called upon each frame received, closes the pipe if the ops code is one of Opscode.Continuation | Opscode.Nonctrl _ | Opscode.Ctrl _, as defined here: https://github.com/vbmithr/ocaml-websocket/blob/master/async/websocket_async.ml#L172.

For the Opscode.Continuation case, it should properly implement the websocket protocol to concatenate the fragments. See this helpful blog post for more on the subject.

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