Skip to content

Commit

Permalink
revert pending_write_completion return now
Browse files Browse the repository at this point in the history
  • Loading branch information
sbSteveK committed Nov 10, 2023
1 parent bbf1558 commit 4b9ef8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/secure_tunneling.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 4b9ef8b

Please sign in to comment.