Revert "Fix #1969 (without unnecessary sleep_for) (#1982)"

This reverts commit 01dcf1d0ad.
This commit is contained in:
yhirose 2024-12-02 12:52:19 -05:00
parent c817d65695
commit fd294d0872

View File

@ -3308,6 +3308,8 @@ inline bool keep_alive(const std::atomic<socket_t> &svr_sock, socket_t sock,
} else {
return true; // Ready for read
}
std::this_thread::sleep_for(microseconds{interval_usec});
}
return false;