Fix warning in http-server-fast

This commit is contained in:
Richard Hodges committed 2021-03-16 10:03:25 +01:00
1 parent fae4c0e3c2
commit 70bddce07f
2 files changed
+1 -1

No files matched your search

@@ -292,7 +292,6 @@ private:
if (request_deadline_.expiry() <= std::chrono::steady_clock::now())
{
// Close socket to cancel any outstanding operation.
beast::error_code ec;
socket_.close();
// Sleep indefinitely until we're given a new deadline.