1. 27 Nov, 2017 1 commit
  2. 12 Sep, 2017 2 commits
  3. 21 Jun, 2017 1 commit
  4. 12 Jun, 2017 1 commit
  5. 11 Apr, 2017 2 commits
  6. 05 Apr, 2017 1 commit
  7. 03 Apr, 2017 1 commit
  8. 23 Jun, 2016 1 commit
  9. 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.
      243610bc
    • Fabrice Bellet's avatar
      test-send-recv: reduce deadlock timeout · de17deed
      Fabrice Bellet authored
      de17deed
    • 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.
      328d081d
  10. 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
      1f532aeb
    • 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*.
      11d4bb97
    • 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.
      a72a93e5
    • 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.
      02699917
  11. 02 Jun, 2016 1 commit
  12. 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
      1a234765
  13. 04 Apr, 2016 2 commits
  14. 01 Mar, 2016 2 commits
  15. 18 Oct, 2015 1 commit
  16. 01 Oct, 2015 6 commits
  17. 14 Apr, 2015 1 commit
  18. 27 Mar, 2015 1 commit
  19. 06 Nov, 2014 2 commits
  20. 26 Sep, 2014 1 commit
  21. 25 Sep, 2014 3 commits
  22. 25 Aug, 2014 1 commit
  23. 21 Aug, 2014 1 commit
    • Philip Withnall's avatar
      pseudotcp: Add a PseudoTcpSocket:support-fin-ack property · 239394af
      Philip Withnall authored
      This allows FIN–ACK support to be disabled entirely. This is mostly for
      testing purposes, since TCP_OPT_FIN_ACK is negotiated when establishing
      the connection, and is disabled if the other side doesn’t support it.
      
      This includes an interoperability test.
      239394af