GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Enabling Compression to Websocket on Netty · Issue #10863 · playframework/playframework

Enabling Compression to Websocket on Netty #10863

New issue
Copy link
New issue
Copy link
Closed
#12477
Closed
Enabling Compression to Websocket on Netty#10863
#12477
Copy link

Description

@TheAntimist
TheAntimist
opened on May 19, 2021
Issue body actions

Play Version

2.8.8

API

Java

Operating System

Windows and Linux

JDK

~/ java -version
openjdk version "13.0.1" 2019-10-15
OpenJDK Runtime Environment (build 13.0.1+9)
OpenJDK 64-Bit Server VM (build 13.0.1+9, mixed mode, sharing)

Actual Behavior

I am currently implementing a websocket server in Play. As part of doing that I noted that the server does not support the permessage-deflate Websocket Extension.

Netty had added this as part of their 4.1 release . An example of a server implementation is here .

Possible Solution

I went over the codebase, and found that using the ChannelPipeline object during the handshake here, HttpStreamsServerHandler.java#L187 to add the WebSocketServerCompressionHandler could work.

Although, I cannot be certain if this would work or be the right way to achieve it, I could surely raise a PR, if someone pointed me in the right direction.

EDIT: I just checked that this was a duplicate of #4186 . But would like to atleast get a response on how to move forward before closing this issue.

Activity

  1. TheAntimist
    changed the title [-]Enabling Compression to Websocket[/-] [+]Enabling Compression to Websocket on Netty[/+] on May 19, 2021
  2. prongs commented on Dec 3, 2021

    @prongs
    prongs
    on Dec 3, 2021
    More actions

    Hey @TheAntimist did you manage to get it to work?

  3. mkurz
    added this to the 2.9.0 milestone on Dec 6, 2021
  4. mkurz commented on Dec 6, 2021

    @mkurz
    mkurz
    on Dec 6, 2021
    Member
    More actions

    Let's add this to the 2.9 release

  5. TheAntimist commented on Dec 7, 2021

    @TheAntimist
    TheAntimist
    on Dec 7, 2021
    Author
    More actions

    @prongs Unfortunately not yet.
    @mkurz Awesome! Let me try and get a prototype PR out during the upcoming holidays.

  6. mkurz commented on Dec 12, 2021

    @mkurz
    mkurz
    on Dec 12, 2021
    Member
    More actions

    Let me try and get a prototype PR out during the upcoming holidays.

    @TheAntimist Sure 😉 I am happy to review.

  7. mkurz commented on Jan 23, 2022

    @mkurz
    mkurz
    on Jan 23, 2022
    Member
    More actions

    @TheAntimist Will you work on this?

  8. TheAntimist commented on Jan 23, 2022

    @TheAntimist
    TheAntimist
    on Jan 23, 2022
    Author
    More actions

    @mkurz I started work on it, but got covid. Just getting recovered and starting work on this again soon.

  9. mkurz commented on Jan 23, 2022

    @mkurz
    mkurz
    on Jan 23, 2022
    Member
    More actions

    @TheAntimist Oh, I am sorry, hope you get better soon! I didn't want to push you, just asking if there is still interest. Take your time.

  10. TheAntimist commented on Jan 24, 2022

    @TheAntimist
    TheAntimist
    on Jan 24, 2022
    Author
    More actions

    @mkurz No worries, I intended on getting it done earlier. I will try to finish this within the upcoming 2-3 weeks once I get recovered.

    Reacted by Matthias Kurz
  11. mkurz
    modified the milestones: 2.9.0, Play.next on Feb 11, 2022
  12. TheAntimist commented on Feb 13, 2022

    @TheAntimist
    TheAntimist
    on Feb 13, 2022
    Author
    More actions

    @mkurz Just to let you know I've started working on this again last week. Been testing it and checking a few things, hopefully I'll get it completed soon.

  13. TheAntimist
    added a commit that references this issue on Feb 14, 2022

    Enable Websocket compression. Fixes playframework#10863

    This issue will close once commit 43a7d6f is merged into the 'main' branch.
    43a7d6f
  14. mkurz
    added a commit that references this issue on Mar 14, 2024

    Enable Websocket compression. Fixes playframework#10863

    This issue will close once commit b424797 is merged into the 'main' branch.
    b424797
  15. mkurz
    linked a pull request that will close this issueEnable Websocket compression for Netty #12477on Mar 17, 2025
  16. mkurz
    removed this from the Play.next milestone on Mar 17, 2025
  17. mkurz
    added a commit that references this issue on Jun 17, 2026

    Enable Websocket compression. Fixes playframework#10863

    This issue will close once commit 81bae96 is merged into the 'main' branch.
    81bae96
  18. mkurz
    closed this as completedin #12477on Jul 7, 2026
  19. mkurz commented on Jul 7, 2026

    @mkurz
    mkurz
    on Jul 7, 2026
    Member
    More actions
    • Implemented/Merged in Enable Websocket compression for Netty #12477
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.