diff options
author | 2016-05-06 16:59:03 -0700 | |
---|---|---|
committer | 2016-05-09 14:30:41 -0700 | |
commit | a301eaade83854cf172d39899232835f21e57690 (patch) | |
tree | 2915d1d66fd9b594e8a68963586dac8a5970b2d7 /test/core/bad_ssl | |
parent | c916c1ce17fe273dff881e1c87e17ad991c2078a (diff) |
Allow servers to select compression level via initial MD.
Setting the newly added compression_level field of
grpc_op::send_initial_metadata by a server now has the effect of
applying that compression level for the subsequent call messages leaving
the server. The ultimate meaning of the level depends on the client's
supported compression algorithms.
Diffstat (limited to 'test/core/bad_ssl')
-rw-r--r-- | test/core/bad_ssl/bad_ssl_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/core/bad_ssl/bad_ssl_test.c b/test/core/bad_ssl/bad_ssl_test.c index c4ae212ec2..bb06ab0bb9 100644 --- a/test/core/bad_ssl/bad_ssl_test.c +++ b/test/core/bad_ssl/bad_ssl_test.c @@ -84,6 +84,7 @@ static void run_test(const char *target, size_t nops) { "/foo", "foo.test.google.fr:1234", deadline, NULL); + memset(ops, 0, sizeof(ops)); op = ops; op->op = GRPC_OP_SEND_INITIAL_METADATA; op->data.send_initial_metadata.count = 0; |