Skip to content

Long messages from Chrome will not be accepted. #300

Closed

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) {
}

Activity

  1. din commented on Jul 12, 2015

    @din

    I can confirm the issue. Is there anything that can fix the issue?

  2. BrushfireDigitalServices commented on Jul 25, 2015

    @BrushfireDigitalServices
    Collaborator

    @Dflz @din, thank you for taking the time to report and confirm this issue. At this time, I do not know of a fix.

    Have either of you made any progress towards a fix? Even a failing test case would be helpful at this stage. Would you be interested in finding and contributing the solution?

  3. Dflz commented on Jul 26, 2015

    @Dflz
    Author

    I solved this problem without using ws, and for my project this question is removed. but it is very desirable to find a solution. It may be necessary to address to developers chrome?

  4. marci4 commented on Oct 10, 2017

    @marci4
    Collaborator

    Could you please check if #570 is fixing this issue for you?

    Greetings
    marci4

  5. marci4 commented on Oct 12, 2017

    @marci4
    Collaborator

    This issue should be solved. If not feel free to open a new issue!

    Greetings
    marci4

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions