Fix warning in http-server-fast

This commit is contained in:
Richard Hodges
2021-03-16 09:52:07 +01:00
parent fae4c0e3c2
commit 70bddce07f
2 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,4 @@
* Fix warning in http-server-fast.
* Parenthesise all uses of min() and max().
* Extend Drone MSVC tests.
* Fix MSVC build error.

View File

@ -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.