Uploaded image for project: 'OpenModbus TCP'
  1. OpenModbus TCP
  2. PSOMB-390

The stack may not send disconnect indication if the Client resets the connection

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V2.5.25.0, V2.6.0.6, V2.7.0.0
    • Component/s: None
    • Labels:
      None
    • Account:
      SPC Open Modbus TCP (SPCOPENMODTCP)

      Description

      The issue appears in Server mode when the user application sends START_STOP_REQ. This will force all opened connections to be closed. As a result from this operation the stack sends FIN/ACK options to the client to initiate a friendly disconnect procedure. If the client responds according to the TCP/IP specification for a friendly disconnect the issue is not reproducible. However if the client resets the connection instead by setting RST option the disconnect indication is not sent to the registered application.

      The issue is not reproducible if the socket is friendly closed.

      • Server sends - FIN
      • Client sends - ACK
      • Cliend sends - FIN
      • Server sends - ACK

      but only if it is hard reset be the Client

      • Server sends - FIN 
      • Client sends - ACK 
      • Cliend sends - RST 
      • Server sends - ACK 

       

        Attachments

          Issue Links

            Expenses

              Activity

                Status Description

                  People

                  • Reporter:
                    ynikolov Yordan Nikolov
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: