Skip to content
  • Philip Withnall's avatar
    pseudotcp: Allow the ‘current’ time to be set · e87f334a
    Philip Withnall authored and Olivier Crête's avatar Olivier Crête committed
    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.
    e87f334a