Skip to content
  • Philip Withnall's avatar
    pseudotcp: Ensure socket is closed after shutdown in non-FIN–ACK mode · f75a8a43
    Philip Withnall authored and Olivier Crête's avatar Olivier Crête committed
    If the socket is closed (with pseudo_tcp_socket_close()) with FIN–ACK
    unsupported, it should transition to the CLOSED state when
    pseudo_tcp_socket_get_next_clock() returns FALSE (as that’s the
    old-style indication that the socket has closed).
    
    This is a behaviour change from before the introduction of FIN–ACK:
    previously, the socket would stay in the ESTABLISHED state. However,
    this should not have been easily detectable by consumers of the API,
    as pseudo_tcp_socket_is_closed() did not exist then.
    f75a8a43