Uploaded image for project: 'TCP/IP - Internet Protocol'
  1. TCP/IP - Internet Protocol
  2. PSTCP-298

Send FIN even if remote station has not yet acknowledged all sent data

    Details

    • Type: Change
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: V2.5.0.0
    • Component/s: None
    • Labels:
      None
    • Account:
      SPC TCP_IP (SPCTCPIP)

      Description

      The TCP Stack shall send a FIN signal to the remote station, even in the case that data which was sent to the remote station is still unacknowledged.

      The current implementation sends the FIN signal only if all data is acknowledged by the remote station. This behavior has the following disadvantages:

      • If network is interrupted (e.g. cable pulled) and at the same time there is unacknowledged data, the TCP stack will never reject/close the connection to the remote station on its own, since the remote station will never acknowledge the data. In that scenario the application is required to close the TCP socket internally.
      • A requested FIN signal from the application (by closing the socket) will be delayed if there is unacknowledged data present. The remote station may delay the acknowledgment of data (typical 250 millisecond) to avoid unnecessary data traffic on the bus.

        Attachments

          Issue Links

            Expenses

              Activity

                Status Description

                  People

                  • Reporter:
                    ABe Andreas B [X] (Inactive)
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: