aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/channel/compress_filter.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-07-22 17:01:54 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-07-22 17:01:54 -0700
commit6159c07709ea23f2a2452c9ad940f7d7f515cd54 (patch)
tree6f3351903c7d415693e83cfb4970352e98ff94d1 /src/core/channel/compress_filter.c
parentd1408e71636f7ec74839a9bcff0429fb7e2caeb0 (diff)
Fix interop tests by ensuring non-http-special metadata precedes other metadata
Diffstat (limited to 'src/core/channel/compress_filter.c')
-rw-r--r--src/core/channel/compress_filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/channel/compress_filter.c b/src/core/channel/compress_filter.c
index 14cb3da62d..bf02f9296f 100644
--- a/src/core/channel/compress_filter.c
+++ b/src/core/channel/compress_filter.c
@@ -200,7 +200,7 @@ static void process_send_ops(grpc_call_element *elem,
channeld->default_compression_algorithm;
calld->has_compression_algorithm = 1; /* GPR_TRUE */
}
- grpc_metadata_batch_add_head(
+ grpc_metadata_batch_add_tail(
&(sop->data.metadata), &calld->compression_algorithm_storage,
grpc_mdelem_ref(channeld->mdelem_compression_algorithms
[calld->compression_algorithm]));