diff options
author | 2015-07-17 14:36:45 -0700 | |
---|---|---|
committer | 2015-07-17 14:36:45 -0700 | |
commit | af26143b6fc76559f0907aadfc9f23c4e2e60844 (patch) | |
tree | 2805cc3317954094eb8baf8a30898b1a93bbc00f /src/core/transport/chttp2/parsing.c | |
parent | 232e04b6199090b5805b3e7148fcfce3b8ef9956 (diff) | |
parent | fea28b79fb0a211b2ea8515dab25db19099ea595 (diff) |
Merge github.com:grpc/grpc into i-want-to-wait-free
Diffstat (limited to 'src/core/transport/chttp2/parsing.c')
-rw-r--r-- | src/core/transport/chttp2/parsing.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/transport/chttp2/parsing.c b/src/core/transport/chttp2/parsing.c index 9597395aab..82362544d5 100644 --- a/src/core/transport/chttp2/parsing.c +++ b/src/core/transport/chttp2/parsing.c @@ -173,7 +173,14 @@ void grpc_chttp2_publish_reads( GRPC_CHTTP2_FLOWCTL_TRACE_STREAM( "parsed", transport_parsing, stream_parsing, incoming_window_delta, -(gpr_int64)stream_parsing->incoming_window_delta); + GRPC_CHTTP2_FLOWCTL_TRACE_STREAM( + "parsed", transport_parsing, stream_global, max_recv_bytes, + -(gpr_int64)stream_parsing->incoming_window_delta); stream_global->incoming_window -= stream_parsing->incoming_window_delta; + GPR_ASSERT(stream_global->max_recv_bytes >= + stream_parsing->incoming_window_delta); + stream_global->max_recv_bytes -= + stream_parsing->incoming_window_delta; stream_parsing->incoming_window_delta = 0; grpc_chttp2_list_add_writable_window_update_stream(transport_global, stream_global); |