Skip to content

Conversation

@evonzee
Copy link
Contributor

@evonzee evonzee commented Oct 23, 2024

Per discussion with @rubellyte on #156, this PR builds on that one and hooks up the zstd filters for all connections, but disables the compressor/decompressor by default. When protocol packets are detected indicating zstd support, the filters start compressing and decompressing without need to restart the main server loop. I have tested this briefly with an OSB client and server running the latest version (0.1.6) with no issue, but I have not tested vanilla client/server yet.

Copy link
Member

@rubellyte rubellyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a slightly more elegant solution to me. I've tested this myself on Windows in all combinations of vanilla/OSB client/server, don't see any issues. There's a bit of what looks like leftover code, could you take that out? You may have to rebase this or open a new PR or something since I've merged all the previous stuff.

@rubellyte rubellyte merged commit 6600b0a into StarryPy:master Oct 25, 2024
@Novaenia
Copy link

Novaenia commented Nov 6, 2025

seems to have been broken by an update at some point

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants