-
Notifications
You must be signed in to change notification settings - Fork 320
Closed
Labels
Milestone
Description
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.