diff options
author | 2015-06-03 09:32:41 -0700 | |
---|---|---|
committer | 2015-06-03 09:32:41 -0700 | |
commit | 4efb6966bdfb62c725c6614b0d85ea374250bb51 (patch) | |
tree | 7576036abb65d952623310cb2b2c8d70ad48df48 /src/core/transport/transport_op_string.c | |
parent | da11694971f12ee973e84c9386494a161228e51a (diff) |
Transport/call flow control interface
Allow call objects to advertise how many bytes they are currently
willing to receive.
Update the transport to utilize this data to update flow control
windows.
Diffstat (limited to 'src/core/transport/transport_op_string.c')
-rw-r--r-- | src/core/transport/transport_op_string.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/transport/transport_op_string.c b/src/core/transport/transport_op_string.c index 7bbe8276c3..11d5a9d780 100644 --- a/src/core/transport/transport_op_string.c +++ b/src/core/transport/transport_op_string.c @@ -129,7 +129,8 @@ char *grpc_transport_op_string(grpc_transport_op *op) { if (op->recv_ops) { if (!first) gpr_strvec_add(&b, gpr_strdup(" ")); first = 0; - gpr_strvec_add(&b, gpr_strdup("RECV")); + gpr_asprintf(&tmp, "RECV:max_recv_bytes=%d", op->max_recv_bytes); + gpr_strvec_add(&b, tmp); } if (op->bind_pollset) { |