|
|
|
@ -59,7 +59,7 @@ static void uv_tc_on_alarm(grpc_exec_ctx* exec_ctx, void* acp, |
|
|
|
|
grpc_error* error) { |
|
|
|
|
int done; |
|
|
|
|
grpc_uv_tcp_connect* connect = (grpc_uv_tcp_connect*)acp; |
|
|
|
|
if (GRPC_TRACER_ON(grpc_tcp_trace)) { |
|
|
|
|
if (grpc_tcp_trace.enabled()) { |
|
|
|
|
const char* str = grpc_error_string(error); |
|
|
|
|
gpr_log(GPR_DEBUG, "CLIENT_CONNECT: %s: on_alarm: error=%s", |
|
|
|
|
connect->addr_name, str); |
|
|
|
@ -147,7 +147,7 @@ static void tcp_client_connect_impl(grpc_exec_ctx* exec_ctx, |
|
|
|
|
connect->connect_req.data = connect; |
|
|
|
|
connect->refs = 2; // One for the connect operation, one for the timer.
|
|
|
|
|
|
|
|
|
|
if (GRPC_TRACER_ON(grpc_tcp_trace)) { |
|
|
|
|
if (grpc_tcp_trace.enabled()) { |
|
|
|
|
gpr_log(GPR_DEBUG, "CLIENT_CONNECT: %s: asynchronously connecting", |
|
|
|
|
connect->addr_name); |
|
|
|
|
} |
|
|
|
|