Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Websocket compression #40

Merged
merged 3 commits into from
Jul 14, 2024

Commits on Jun 17, 2024

  1. feat: support compression

    This commit adds the ability to enable compression for websockets.
    The compression is disabled by default due to the fact that it is marked
    as experimental in gorilla/websocket and there have been issues with
    compression whenever Safari is enabled.
    This commit partially addresses d-Rickyy-b#30.
    alberts-s committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    9e6c5de View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2024

  1. refactor: remove nil check for CompressionEnabled

    I appreciate the comment as explanation, but using regular bools in the struct will lead to the default values being parsed. The default value for bools is "false". So there's no need to use a pointer in here.
    d-Rickyy-b committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    de96f18 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2457962 View commit details
    Browse the repository at this point in the history