Uploaded image for project: 'LWIP based TCP/IP'
  1. LWIP based TCP/IP
  2. PSLWIP-426

Long TCP timeout on connection interuption

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V5.1.0.0
    • Fix Version/s: V5.1.0.6, V5.1.3.0
    • Labels:
      None
    • Account:
      SPC TCP_IP (SPCTCPIP)

      Description

      When TCP protocol is used to exchange data with a remote peer and the connection with that peer is interrupted (e.g. cable pull somewhere on the connection path), the connection will be terminated with a very long delay of about 20 minutes the stack detects this condition during retransmission of unacknowledged data.

      This behavior originates from lwIP stack itself which implements long retries only. To overcome this PSLWIP V4.x had been added an implementation of R1 & R2 timeout defined in RFC1122. Unfortunately, this was not migrated to PSLWIP 5.x.

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  AMesser Andreas Messer
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: