aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/codegen
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2017-10-06 16:55:52 -0700
committerGravatar Muxi Yan <mxyan@google.com>2017-10-06 17:25:40 -0700
commit63602748415fb836afd7a9685fbe5e85bf5ebfed (patch)
treef621272bdfb56a20782c9ed3a1a06f286c121941 /tools/codegen
parent906f69c1dfb09766708ca82217851cc20ebedd83 (diff)
Make the names of compression algorithms backwards compatible at surface API
Diffstat (limited to 'tools/codegen')
-rwxr-xr-xtools/codegen/core/gen_static_metadata.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/codegen/core/gen_static_metadata.py b/tools/codegen/core/gen_static_metadata.py
index b7edbbb454..74e5131852 100755
--- a/tools/codegen/core/gen_static_metadata.py
+++ b/tools/codegen/core/gen_static_metadata.py
@@ -53,10 +53,8 @@ CONFIG = [
'grpc.max_response_message_bytes',
# well known method names
'/grpc.lb.v1.LoadBalancer/BalanceLoad',
- # compression algorithm names
- 'message/deflate',
- 'message/gzip',
- 'stream/gzip',
+ # stream compression algorithm names
+ 'stream-gzip',
# metadata elements
('grpc-status', '0'),
('grpc-status', '1'),