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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: V2.7.1.0 (open)
    • 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: