forked from larroy/libutp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Protect against monotonic time being non-monotonic.
Within utp.cpp, there's a bunch of assertions that will cause us to crash if monotonic time isn't. While we're in principle already protecting in the cases where non-monotonicity is likely (see the gettimeofday case for generic Unix, for example), this protects for all versions.
- Loading branch information
Showing
1 changed file
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters