aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/transport/chttp2_transport_end2end_test.c
diff options
context:
space:
mode:
authorGravatar ctiller <ctiller@google.com>2015-01-12 11:23:09 -0800
committerGravatar Nicolas Noble <nnoble@google.com>2015-01-12 14:03:28 -0800
commit00297df63b5c2d660dafa5314b3c87a57cfaf0b8 (patch)
treea4c3b1e3f918708c9788df31a8ff5ad8b91f2809 /test/core/transport/chttp2_transport_end2end_test.c
parent45fc159eed8d7b9be2277f81e3f43de7e5daabc2 (diff)
Ensure flow control callbacks happen outside the transport lock.
Split encoding into two phases: a collection phase to decide on what is allowed (by flow control) to be sent, and a framing phase when the data is actually sent. Perform the second phase outside of the transport mutex (but serially, guarded by t->writing) and make flow control callbacks during that phase. This will allow us to make further transport level calls in response to flow control callbacks, and will be needed by the forthcoming async api for C++. Change on 2015/01/12 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83774409
Diffstat (limited to 'test/core/transport/chttp2_transport_end2end_test.c')
0 files changed, 0 insertions, 0 deletions