Skip to content

WebSocketServerHandshaker* may corrupt first WebSocket frame #786

Closed

Description

@normanmaurer

In WebSocketServerHandshaker* we use ChannelPipeline.replace(..) to replace the old HttpRequestDecoder with the right WebSocker_Decoder. This can lead to lost data as the old HttpRequestDecoder may have some data buffered. We need to use HttpRequestDecoder.replace(..) to make sure every buffered data is "hand-over" to the WebSocket_Decoder.

Activity

  1. normanmaurer commented on Dec 27, 2012

    @normanmaurer
    MemberAuthor

    Which version?

    Sent from my iPhone. Excuse any typos....

    Am 27.12.2012 um 17:40 schrieb macer1 [email protected]:

    I have that problem in netty4...

    —
    Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions