Skip to content
Snippets Groups Projects
Commit 5d9d2465 authored by kpayson64's avatar kpayson64 Committed by GitHub
Browse files

Merge pull request #7477 from yang-g/monotonic

Convert deadline clock type in security handshake timer
parents 7b104cd1 13958b3b
No related branches found
No related tags found
No related merge requests found
...@@ -357,8 +357,9 @@ void grpc_do_security_handshake( ...@@ -357,8 +357,9 @@ void grpc_do_security_handshake(
gpr_mu_unlock(&server_connector->mu); gpr_mu_unlock(&server_connector->mu);
} }
send_handshake_bytes_to_peer(exec_ctx, h); send_handshake_bytes_to_peer(exec_ctx, h);
grpc_timer_init(exec_ctx, &h->timer, deadline, on_timeout, h, grpc_timer_init(exec_ctx, &h->timer,
gpr_now(deadline.clock_type)); gpr_convert_clock_type(deadline, GPR_CLOCK_MONOTONIC),
on_timeout, h, gpr_now(GPR_CLOCK_MONOTONIC));
} }
void grpc_security_handshake_shutdown(grpc_exec_ctx *exec_ctx, void grpc_security_handshake_shutdown(grpc_exec_ctx *exec_ctx,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment