1. 05 Apr, 2017 1 commit
  2. 03 Apr, 2017 1 commit
  3. 23 Jun, 2016 1 commit
  4. 20 Jun, 2016 3 commits
    • Fabrice Bellet's avatar
      tests: fix io-stream when built with optimizations · 243610bc
      Fabrice Bellet authored
      In construct like "while (foo);" when foo is modified outside of the
      current thread, the variable should be declared volatile to suggest the
      compiler to read its value without making code optimization.
    • Fabrice Bellet's avatar
      test-send-recv: reduce deadlock timeout · de17deed
      Fabrice Bellet authored
    • Fabrice Bellet's avatar
      pseudotcp-fuzzy: fix this test · 328d081d
      Fabrice Bellet authored
      The header size should be 24 bytes only, if we don't want to fuzz the
      payload too.  Moreover, the default lambda parameter is decreased to
      one, to not fuzz the header too heavily, and consequently increase too
      much the time for the test to complete, due to exponential
      retransmission timeout when packets are corrupted.
  5. 03 Jun, 2016 4 commits
    • Olivier Crête's avatar
      pseudotcp: Set min RTO to 1 second · 1f532aeb
      Olivier Crête authored
      This is recommended by RFC 6298
    • Philip Withnall's avatar
      pseudotcp: Correct behaviour of buffer size methods when part-closed · 11d4bb97
      Philip Withnall authored
      Correct the behaviour of pseudo_tcp_socket_get_available_bytes() and
      pseudo_tcp_get_available_send_space() when the socket is not in
      TCP_ESTABLISHED state. It’s still permissible to send and receive up
      until the local side calls pseudo_tcp_socket_close(), which means we
      may be in state TCP_ESTABLISHED *or TCP_CLOSE_WAIT*.
    • Philip Withnall's avatar
      pseudotcp: Fix pseudo_tcp_socket_recv() in state TCP_CLOSE_WAIT · a72a93e5
      Philip Withnall authored
      Previously, pseudo_tcp_socket_recv() would start returning 0 (EOS) as
      soon as a FIN segment was received from the peer, even if there was
      unread data already in the receive buffer.
      Instead, the unread data should all be accessible before
      pseudo_tcp_socket_recv() starts returning 0.
    • Philip Withnall's avatar
      pseudotcp: Fix retransmission of segments before handling a FIN · 02699917
      Philip Withnall authored
      Previously, if peer A transmitted one or more data segments (1),
      followed by a FIN segment (2) to peer B, and segments 1 were
      dropped, peer B would not request retransmission of them and would
      instead continue with the FIN handshake. This effectively meant
      segments 1 were lost without peer B realising.
      Fix this by only handling the FIN segment once its sequence number is
      acknowledged in the receive window.
  6. 02 Jun, 2016 1 commit
  7. 01 Jun, 2016 1 commit
    • Jakub Adam's avatar
      test-icetcp: don't be sensitive to the signal order · 1a234765
      Jakub Adam authored
      "new-selected-pair" may be emitted after "component-state-changed"
      to READY, by which time the main loop might have gotten quit in
      cb_component_state_changed(). Consequently, cb_new_selected_pair() could
      miss to register the selected pair, ultimately leading to an assertion
      failure in main().
      We should wait for both selected pair and state change events to occur
      before stopping the main loop.
      Differential Revision: https://phabricator.freedesktop.org/D1044
  8. 04 Apr, 2016 2 commits
  9. 01 Mar, 2016 2 commits
  10. 18 Oct, 2015 1 commit
  11. 01 Oct, 2015 6 commits
  12. 14 Apr, 2015 1 commit
  13. 27 Mar, 2015 1 commit
  14. 06 Nov, 2014 2 commits
  15. 26 Sep, 2014 1 commit
  16. 25 Sep, 2014 3 commits
  17. 25 Aug, 2014 1 commit
  18. 21 Aug, 2014 7 commits
  19. 13 Aug, 2014 1 commit