diff options
author | 2017-01-27 11:37:37 -0800 | |
---|---|---|
committer | 2017-01-27 11:37:37 -0800 | |
commit | cda759d658980346eb6a5673a36cda7f1906da3e (patch) | |
tree | 1780af79c602f6996e3fee01e9964a5d292a1e94 /test/core/surface | |
parent | 46357c882df1afc28f7a5228c40fde522093fa32 (diff) |
Add an error to fd_shutdown (and recursively)
Allows diagnosing WHY a file descriptor was shutdown prematurely.
Diffstat (limited to 'test/core/surface')
-rw-r--r-- | test/core/surface/concurrent_connectivity_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/surface/concurrent_connectivity_test.c b/test/core/surface/concurrent_connectivity_test.c index 8ebe8d07e4..7071f93d8d 100644 --- a/test/core/surface/concurrent_connectivity_test.c +++ b/test/core/surface/concurrent_connectivity_test.c @@ -107,7 +107,7 @@ static void on_connect(grpc_exec_ctx *exec_ctx, void *vargs, grpc_endpoint *tcp, grpc_tcp_server_acceptor *acceptor) { gpr_free(acceptor); struct server_thread_args *args = (struct server_thread_args *)vargs; - grpc_endpoint_shutdown(exec_ctx, tcp); + grpc_endpoint_shutdown(exec_ctx, tcp, GRPC_ERROR_CREATE("Connected")); grpc_endpoint_destroy(exec_ctx, tcp); GRPC_LOG_IF_ERROR("pollset_kick", grpc_pollset_kick(args->pollset, NULL)); } |