Skip to content

[feature] Support x-webkit-deflate-frame #696

Closed

Description

@ejain

Some browsers (e.g. Safari) send Sec-WebSocket-Extensions: x-webkit-deflate-frame instead of the (now standard) permessage-deflate. The behavior should be identical, otherwise.

Activity

  1. ejain commented on Jul 5, 2021

    @ejain
    Author

    See comments on websockets/ws#940, but it could be random luck that this works.

  2. ejain commented on Oct 2, 2021

    @ejain
    Author

    As of iOS 15, Safari defaults to using NSURLSession Websocket, which uses the standard permessage-deflate headers, not x-webkit-deflate-frame. This new implementation doesn't work with gorilla/websocket (and likely other backends) as it fails when larger messages are split, but that's another issue...

  3. imankur commented on Nov 8, 2021

    @imankur

    @ejain This new implementation doesn't work with gorilla/websocket - any idea what can be the fix for this?

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions