diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-08-31 16:38:58 -0700 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-08-31 16:38:58 -0700 |
commit | 3fecb24c555f45bac9110cd4a5947de91f11a78b (patch) | |
tree | 03093691d5ed9b763e58cd3d49c277a4cef206b5 /src | |
parent | a4517a202008c90da7fbad0f4f6ad3a8171bfdf0 (diff) |
Add a little experiment
Diffstat (limited to 'src')
-rw-r--r-- | src/core/surface/call.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/surface/call.c b/src/core/surface/call.c index f25ef74a92..a8b4d65fbc 100644 --- a/src/core/surface/call.c +++ b/src/core/surface/call.c @@ -641,7 +641,9 @@ static void unlock(grpc_call *call) { op.max_recv_bytes = MAX_RECV_PEEK_AHEAD - buffered_bytes; } } - if (op.max_recv_bytes != 0) { + /* TODO(ctiller): 1024 is basically to cover a bug + I don't understand yet */ + if (op.max_recv_bytes > 1024) { op.recv_ops = &call->recv_ops; op.recv_state = &call->recv_state; op.on_done_recv = &call->on_done_recv; |