Skip to content

Idiomatic default CompressionMode #230

Description

@tayadelmar

It would be idiomatic to have CompressionDisabled as a default CompressionMode.

Now it's a bit confusing, because the default mode is CompressionNoContextTakeover and the lib encourages to use context.Context, which is actually very cool, But using the default compression mode with the context leads to a reading error:

failed to read JSON message: failed to read: flate: corrupt input before offset 11

So user needs to investigate the error and research about compression modes if he wants just to connect with default DialOptions.

Activity

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions