diff options
author | Craig Tiller <ctiller@google.com> | 2017-10-05 08:36:34 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-10-05 08:36:34 -0700 |
commit | 76eab735f41baf8dd8af6524a8ce673a5803f5d4 (patch) | |
tree | 3c359823a89886e14b1a4b9bc906e9eae8bd11f8 /src/core/lib/iomgr | |
parent | 2b86ea6206e9ca71f59acff9752d28495be81126 (diff) | |
parent | 8a8f5ed041d6fa1b772bda0b9d193aeb7dea9172 (diff) |
Merge github.com:grpc/grpc into flowctl+millis
Diffstat (limited to 'src/core/lib/iomgr')
-rw-r--r-- | src/core/lib/iomgr/tcp_client_uv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/tcp_client_uv.c b/src/core/lib/iomgr/tcp_client_uv.c index d456c6797a..f3fb26a346 100644 --- a/src/core/lib/iomgr/tcp_client_uv.c +++ b/src/core/lib/iomgr/tcp_client_uv.c @@ -145,7 +145,7 @@ static void tcp_client_connect_impl(grpc_exec_ctx *exec_ctx, connect->resource_quota = resource_quota; uv_tcp_init(uv_default_loop(), connect->tcp_handle); connect->connect_req.data = connect; - connect->refs = 1; + connect->refs = 2; // One for the connect operation, one for the timer. if (GRPC_TRACER_ON(grpc_tcp_trace)) { gpr_log(GPR_DEBUG, "CLIENT_CONNECT: %s: asynchronously connecting", |