You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#### Description
This is an alternative PR to #12825.
I'm taking all the commits from that PR and adding the feature gate on
the client side, as requested by reviews. The server behavior of peeking
into the initial bytes to identify the encoding is kept :)
If you've reviewed the previous PR, you can just review the latest
commit!
<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes#10584
---------
Signed-off-by: Arthur Silva Sens <[email protected]>
Co-authored-by: Michael Graff <[email protected]>
Co-authored-by: Alex Boten <[email protected]>
Co-authored-by: Pablo Baeyens <[email protected]>
Co-authored-by: Jonathan <[email protected]>
- `endpoint`: Valid value syntax available [here](https://github.com/grpc/grpc/blob/master/doc/naming.md)
106
108
- `max_request_body_size`: configures the maximum allowed body size in bytes for a single request. Default: `20971520` (20MiB)
107
109
- `compression_algorithms`: configures the list of compression algorithms the server can accept. Default: ["", "gzip", "zstd", "zlib", "snappy", "deflate", "lz4"]
110
+
- `x-snappy-framed`can be used if feature gate `confighttp.snappyFramed` is enabled.
108
111
- [`tls`](../configtls/README.md)
109
112
- [`auth`](../configauth/README.md)
110
113
- `request_params`: a list of query parameter names to add to the auth context, along with the HTTP headers
featuregate.WithRegisterDescription("Content encoding 'snappy' will compress/decompress block snappy format while 'x-snappy-framed' will compress/decompress framed snappy format."),
0 commit comments