From 4b9ef8ba9b3c85789109873a3f5f8fe64b8f2a6a Mon Sep 17 00:00:00 2001 From: Steve Kim Date: Fri, 10 Nov 2023 08:32:08 -0800 Subject: [PATCH] revert pending_write_completion return now --- source/secure_tunneling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/secure_tunneling.c b/source/secure_tunneling.c index 21ff9145..e84c4e1c 100644 --- a/source/secure_tunneling.c +++ b/source/secure_tunneling.c @@ -1715,7 +1715,7 @@ static uint64_t s_aws_secure_tunnel_compute_operational_state_service_time( /* Another message is in transit down the WebSocket, but schedule a new message to the nearest time to avoid delays. */ if (secure_tunnel->pending_write_completion) { - return now; + return 0; } /* If we're in the middle of something, keep going */