diff options
author | yang-g <yangg@google.com> | 2015-11-24 10:39:23 -0800 |
---|---|---|
committer | yang-g <yangg@google.com> | 2015-11-24 10:39:23 -0800 |
commit | d9f6101967051be4103d857632d6bf2b21a7c078 (patch) | |
tree | 6a61d5254829c2d51a49d2b4bdfba6993b5d4dd3 /src/core/transport/chttp2 | |
parent | f8843fb58c44f34654353d9a43a1266ae091725a (diff) | |
parent | 447c795bb8d82ec328573c6517d82dc6d0dcc0f8 (diff) |
merge with head
Diffstat (limited to 'src/core/transport/chttp2')
-rw-r--r-- | src/core/transport/chttp2/internal.h | 3 | ||||
-rw-r--r-- | src/core/transport/chttp2/writing.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/core/transport/chttp2/internal.h b/src/core/transport/chttp2/internal.h index 216439549c..b2ac8ee965 100644 --- a/src/core/transport/chttp2/internal.h +++ b/src/core/transport/chttp2/internal.h @@ -191,6 +191,9 @@ typedef struct { copied to next_stream_id in parsing when parsing commences */ gpr_uint32 next_stream_id; + /** how far to lookahead in a stream? */ + gpr_uint32 stream_lookahead; + /** last received stream id */ gpr_uint32 last_incoming_stream_id; diff --git a/src/core/transport/chttp2/writing.c b/src/core/transport/chttp2/writing.c index 3cb28f8f0c..805d05222d 100644 --- a/src/core/transport/chttp2/writing.c +++ b/src/core/transport/chttp2/writing.c @@ -320,6 +320,8 @@ static void finalize_outbuf(grpc_exec_ctx *exec_ctx, grpc_chttp2_list_add_written_stream(transport_writing, stream_writing); } } + + GPR_TIMER_END("finalize_outbuf", 0); } void grpc_chttp2_cleanup_writing( |