Commit e87f334a authored by Committed by Olivier CrêteBrowse files
pseudotcp: Allow the ‘current’ time to be set
This is needed for the upcoming new test suite for pseudo-TCP. It shouldn’t be used in normal code — only in tests. Ideally, the pseudo-TCP code should originally never have called g_get_monotonic_time() itself, and should have always taken a time parameter from the caller; then it would be more testable. Unfortunately, API guarantees prevent this from being changed now.
Showing with 44 additions and 12 deletions