diff options
author | 2016-12-02 11:00:27 -0800 | |
---|---|---|
committer | 2016-12-02 11:00:27 -0800 | |
commit | 8aa2f70f57b3c6c30264e4f1b5ddfaa9b7953f9f (patch) | |
tree | c1976f387ca5a5b04be3d97d5683298f05ab10ea /src | |
parent | 158a4a42b2dfd1712b3ca81daf68162df04460c6 (diff) |
Code review changes.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ext/client_channel/http_connect_handshaker.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/ext/client_channel/http_connect_handshaker.c b/src/core/ext/client_channel/http_connect_handshaker.c index e0b717dac5..572af52dfd 100644 --- a/src/core/ext/client_channel/http_connect_handshaker.c +++ b/src/core/ext/client_channel/http_connect_handshaker.c @@ -126,6 +126,9 @@ static void handshake_failed_locked(grpc_exec_ctx* exec_ctx, // Not shutting down, so the handshake failed. Clean up before // invoking the callback. cleanup_args_for_failure_locked(handshaker); + // Set shutdown to true so that subsequent calls to + // http_connect_handshaker_shutdown() do nothing. + handshaker->shutdown = true; } // Invoke callback. grpc_exec_ctx_sched(exec_ctx, handshaker->on_handshake_done, error, NULL); |