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

This commit is contained in:
yhirose 2024-11-16 10:56:57 -05:00 committed by GitHub
parent 8e378779c2
commit 01dcf1d0ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3308,8 +3308,6 @@ 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;