Skip to content
  • Philip Withnall's avatar
    pseudotcp: Allow the ‘current’ time to be set · e3a3a87b
    Philip Withnall authored
    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.
    e3a3a87b