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 — Enable Websocket compression for Netty by mkurz · Pull Request #12477 · playframework/playframework

Conversation

@mkurz

@mkurz mkurz commented Mar 14, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

TODO: Netty permessage-deflate tuning after Netty upgrade

  • Upgrade to (unreleased) Netty 4.2.16.Final that includes netty/netty commit netty/netty@7bae566a93 / Make permessage-deflate server window size and memLevel configurable netty/netty#16809
  • Wire Netty's new PerMessageDeflateServerExtensionHandshaker constructor parameters for serverWindowSize and memLevel.
  • Decide whether Play should expose serverWindowSize and memLevel as Netty-specific config keys under play.server.netty.websocket.compression.perMessageDeflate.
  • Add tests for configured serverWindowSize negotiation once the newer Netty API is available.
  • Document any newly exposed serverWindowSize / memLevel settings in transport/server/play-netty-server/src/main/resources/reference.conf and the WebSocket docs.

This replaces

  • Enable Websocket compression for Netty #11169

Not sure why #11169 got closed by GitHub, I just wanted to rebase... Maybe because the original pull request branch was called main...?

/cc @TheAntimist

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

He-Pin reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@mkurz mkurz mentioned this pull request Mar 14, 2024
Enable Websocket compression for Netty #11169
Closed
8 tasks done
@mkurz mkurz changed the title Enable Websocket compression Enable Websocket compression for Netty Mar 15, 2024
@mkurz mkurz added this to the 2.10.0 / 3.1.0 milestone Mar 15, 2024
@mkurz mkurz removed this from the 5.0 milestone Mar 17, 2025
@mkurz mkurz linked an issue Mar 17, 2025 that may be closed by this pull request
Enabling Compression to Websocket on Netty #10863
Closed
@mkurz
mkurz force-pushed the netty-websocket-compression branch from b424797 to 81bae96 Compare June 17, 2026 18:43
@mkurz
mkurz force-pushed the netty-websocket-compression branch from 81bae96 to 3f04457 Compare June 30, 2026 11:11
@mkurz mkurz mentioned this pull request Jun 30, 2026
Add server-side WebSocket compression apache/pekko-http#1114
Merged
@mkurz
mkurz force-pushed the netty-websocket-compression branch from 3f04457 to 0b5c7a5 Compare July 6, 2026 22:22
mkurz added 3 commits July 7, 2026 09:50
@mkurz
Add Netty WebSocket compression support
fd5aa6d
@mkurz
Configure Netty WebSocket compression
91342f8
@mkurz
Document Netty WebSocket compression
ac02493
@mkurz
mkurz force-pushed the netty-websocket-compression branch from 0b5c7a5 to ac02493 Compare July 7, 2026 08:58
@mkurz
mkurz merged commit bf03999 into playframework:main Jul 7, 2026
45 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@github-project-automation github-project-automation Bot moved this from 🆕 New to ✅ Done in Play 4.0 (due November 2026) Jul 7, 2026
@mkurz
mkurz deleted the netty-websocket-compression branch July 7, 2026 09:44
This was referenced Jul 7, 2026
Enabling Compression to Websocket on Netty #10863
Closed
Compression Extensions for WebSocket #4186
Closed
@mkurz

mkurz commented Jul 8, 2026

Copy link
Copy Markdown
Member Author
  • Pekko HTTP part: Support Pekko HTTP WebSocket compression #14075
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mkurz mkurz mentioned this pull request Jul 8, 2026
Support Pekko HTTP WebSocket compression #14075
Merged
This was referenced Jul 22, 2026
Allow disabling WebSocket compression per accepted socket #14118
Merged
Add a WebSocket compression threshold #14120
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

Play 4.0 (due November 2026)
Status: ✅ Done

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Enabling Compression to Websocket on Netty

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@mkurz
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.