Skip to content

Commit

Permalink
Decompress even when no-transform is specified
Browse files Browse the repository at this point in the history
This allows matching the more lenient behavior of other client-side
networking libraries such as OkHttp or URLSession, especially in cases
where the remote server is not under the client developer's control.

Signed-off-by: JP Simard <jp@jpsim.com>
  • Loading branch information
jpsim committed Jan 5, 2022
1 parent 4481078 commit 5270b4c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "envoy"]
path = envoy
url = https://github.com/envoyproxy/envoy.git
url = https://github.com/jpsim/envoy.git
2 changes: 1 addition & 1 deletion envoy
Submodule envoy updated from 8a75ac to df655a
3 changes: 3 additions & 0 deletions library/common/config/config.cc
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,9 @@ R"(
enabled:
default_value: false
runtime_key: request_decompressor_enabled
response_direction_config:
common_config:
ignore_no_transform_header: true
- name: envoy.router
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
Expand Down

0 comments on commit 5270b4c

Please sign in to comment.