diff options
author | Craig Tiller <ctiller@google.com> | 2015-11-11 01:14:39 +0000 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-11-11 01:14:39 +0000 |
commit | 82e249b8165dbe2ddb6d76bf938a677d85341a8f (patch) | |
tree | b9cb982e819b7a95703f03acdda1aedd5558e133 /src | |
parent | 575b4200a72dfdb081fb8c9063cad8d94841dd16 (diff) |
Small fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/core/transport/chttp2/hpack_table.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/core/transport/chttp2/hpack_table.c b/src/core/transport/chttp2/hpack_table.c index 0b034b72a4..f2362b056c 100644 --- a/src/core/transport/chttp2/hpack_table.c +++ b/src/core/transport/chttp2/hpack_table.c @@ -294,10 +294,10 @@ int grpc_chttp2_hptbl_add(grpc_chttp2_hptbl *tbl, grpc_mdelem *md) { GRPC_CHTTP2_HPACK_ENTRY_OVERHEAD; if (tbl->current_table_bytes > tbl->max_bytes) { - gpr_log( - GPR_ERROR, - "HPACK max table size reduced to %d but not reflected by hpack stream", - tbl->max_bytes); + gpr_log(GPR_ERROR, + "HPACK max table size reduced to %d but not reflected by hpack " + "stream (still at %d)", + tbl->max_bytes, tbl->current_table_bytes); return 0; } @@ -324,7 +324,8 @@ int grpc_chttp2_hptbl_add(grpc_chttp2_hptbl *tbl, grpc_mdelem *md) { } /* copy the finalized entry in */ - tbl->ents[(tbl->first_ent + tbl->num_ents) % tbl->cap_entries] = GRPC_MDELEM_REF(md); + tbl->ents[(tbl->first_ent + tbl->num_ents) % tbl->cap_entries] = + GRPC_MDELEM_REF(md); /* update accounting values */ tbl->num_ents++; |