0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 08:12:37 +01:00

ircd::net: Indicate no timeout before any handler invocation on cancel.

This commit is contained in:
Jason Volk 2018-03-09 14:20:01 -08:00
parent e09111ff4e
commit e59c04e2a5

View file

@ -1999,11 +1999,11 @@ noexcept
duration_cast<milliseconds>(exp)
};
timedout = false;
boost::system::error_code ec;
timer.cancel(ec);
assert(!ec);
timedout = false;
assert(timedout == false);
return ret;
}