Skip to content

Long messages from Chrome will not be accepted. #300

@Dflz

Description

@Dflz

the last fragments

process(16384): {too big to display}
....
process(16398): {too big to display}
matched frame: Framedata{ optcode:CONTINUOUS, fin:false, payloadlength:[pos:0, len:131072], payload:[13,....
process(16384): {too big to display}
......
process(14670): {too big to display}
matched frame: Framedata{ optcode:CONTINUOUS, fin:true, payloadlength:[pos:0, len:63814], payload:[35.....

class WebSocketImpl {
....
private void decodeFrames(ByteBuffer socketBuffer) {
....
try {
wsl.onWebsocketMessageFragment(this, f);
} catch (RuntimeException e) {
wsl.onWebsocketError(this, e);
}
-->
@OverRide
@deprecated
public/final/ void onWebsocketMessageFragment(WebSocket conn, Framedata frame) {// onFragment should be overloaded instead
onFragment(conn, frame);
}
-->
public void onFragment(WebSocket conn, Framedata fragment) {
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions