Tidy up warnings and deprecated usage:

fix #1290

* BOOST_ASIO_NO_DEPRECATED=1 is now set
* Fix various warnings from the Boost regression test matrix
* Fix a bug in advanced servers when checking for a timeout
This commit is contained in:
Vinnie Falco
2018-11-22 20:49:30 -08:00
parent c0e5d1bd76
commit 5bff4ed8ab
23 changed files with 103 additions and 60 deletions
@@ -809,7 +809,7 @@ public:
return fail(ec, "timer");
// Check if this has been upgraded to Websocket
if(timer_.expires_at() == (std::chrono::steady_clock::time_point::min)())
if(timer_.expiry() == (std::chrono::steady_clock::time_point::min)())
return;
// Verify that the timer really expired since the deadline may have moved.