Skip to content

WebSocket: Support multi-framing sends #683

Open
@jhihn

Description

@jhihn

Per RFC 6455 10.4. Implementation-Specific Limits client can choose a maximum frame size. It seems that in
private byte[] frame(int opcode, byte [] data, int errorCode, int dataOffset, int dataLength)
that there is no maximum frame size applied. The data is shoved into a single frame and delivered this cause problems with clients who do implement a maximum frame size.

I suggest there be a setMaxFrameSize() function added and the data to be fragmented into multiple frames when it exceeds the maximum frame size.

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