diff options
author | Craig Tiller <ctiller@google.com> | 2015-11-24 15:33:04 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-11-24 15:33:04 -0800 |
commit | 299bcd55216349fe45b17d30e9bab19a85073db8 (patch) | |
tree | 6a61d5254829c2d51a49d2b4bdfba6993b5d4dd3 /src/core/transport/chttp2 | |
parent | 447c795bb8d82ec328573c6517d82dc6d0dcc0f8 (diff) | |
parent | d9f6101967051be4103d857632d6bf2b21a7c078 (diff) |
Merge pull request #4089 from yang-g/initial_string
Support sending an initial connect string at the beginning of client tcp connection.
Diffstat (limited to 'src/core/transport/chttp2')
-rw-r--r-- | src/core/transport/chttp2/hpack_encoder.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/transport/chttp2/hpack_encoder.c b/src/core/transport/chttp2/hpack_encoder.c index 758babc3d0..62b60abaf5 100644 --- a/src/core/transport/chttp2/hpack_encoder.c +++ b/src/core/transport/chttp2/hpack_encoder.c @@ -509,7 +509,8 @@ static void rebuild_elems(grpc_chttp2_hpack_compressor *c, gpr_uint32 new_cap) { for (i = 0; i < c->table_elems; i++) { gpr_uint32 ofs = c->tail_remote_index + i + 1; - table_elem_size[ofs % new_cap] = c->table_elem_size[ofs % c->cap_table_elems]; + table_elem_size[ofs % new_cap] = + c->table_elem_size[ofs % c->cap_table_elems]; } c->cap_table_elems = new_cap; |