aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/bad_client
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-02-03 16:02:49 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-02-03 16:02:49 -0800
commita44cbfc11c7d018785ef5699b900453090df07e3 (patch)
treec8eb84e843f112bc5da0db0e9381d56e0c2cb0a6 /test/core/bad_client
parent4253522c76fd7694a621dc62a7092ffa6e802e15 (diff)
Fix race condition in transport API
Specifically: Receiving trailing and initial metadata had to be published in lock-step. => If we wanted trailing metadata, we might not get initial metadata processed until messages arrived. => Compression code had no idea what codec to use. To fix it, publish initial metadata as soon as it's ready (this is a transport API change). Requires changes to grpc_call to ensure ordering in processing initial metadata and messages (one may be delayed). Exposed at least some bugs in C++ where we never read initial metadata. I expect at least one more similar bug.
Diffstat (limited to 'test/core/bad_client')
0 files changed, 0 insertions, 0 deletions