Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-885

SocketInitiator::stop() can't send out the logout message

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.2
    • Fix Version/s: 1.6.4
    • Component/s: Engine
    • Labels:
      None

      Description

      stop() function will invoke the stop(false) to stop the connection.
      In the code, the END_OF_STREAM will be put into the message queue first. So the session will believe the connection is broken. Then the intent "session.logout()" in the logoutAllSessions() will be able to get chance to executed since the session state will be not logon for that END_OF_STREAM message.

      eventHandlingStrategy.stopHandlingMessages();
      logoutAllSessions(forceDisconnect);
      stopInitiators();

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chrjohn Christoph John
                Reporter:
                shenliang@dt-workshop.com Shen liang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: