aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/transport/chttp2_transport.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-02-11 21:08:49 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-02-11 21:08:49 -0800
commit0156752a66e5e8f00e7e49fd1aae35a6b8157cca (patch)
treeb9ba6857ea36976c8c47407ef79dec03a76a679e /src/core/transport/chttp2_transport.c
parent504bd331aba5817c2753c4f447f40cc83fa4d907 (diff)
Some streaming progress
Diffstat (limited to 'src/core/transport/chttp2_transport.c')
-rw-r--r--src/core/transport/chttp2_transport.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/transport/chttp2_transport.c b/src/core/transport/chttp2_transport.c
index 7d78bfa0cc..65d11f16c7 100644
--- a/src/core/transport/chttp2_transport.c
+++ b/src/core/transport/chttp2_transport.c
@@ -1015,6 +1015,8 @@ static void cancel_stream_inner(transport *t, stream *s, gpr_uint32 id,
int had_outgoing;
char buffer[GPR_LTOA_MIN_BUFSIZE];
+ gpr_log(GPR_DEBUG, "cancel %d", id);
+
if (s) {
/* clear out any unreported input & output: nobody cares anymore */
had_outgoing = s->outgoing_sopb.nops != 0;
@@ -1185,6 +1187,8 @@ static void on_header(void *tp, grpc_mdelem *md) {
transport *t = tp;
stream *s = t->incoming_stream;
+ gpr_log(GPR_DEBUG, "on_header: %d %s %s", s->id, grpc_mdstr_as_c_string(md->key), grpc_mdstr_as_c_string(md->value));
+
GPR_ASSERT(s);
stream_list_join(t, s, PENDING_CALLBACKS);
if (md->key == t->str_grpc_timeout) {