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

disconnect() might not clear logoutSent flag

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Default
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      In Session, with the help of SessionState, there is code to keep track of whether a logout message has been sent. In the disconnect method this flag is normally cleared. However, if the method returns early due to the session being already disconnected, the flag is not cleared.

      So the flag remains set, and this later triggers another logout (after the session has really been re-established). (And the reason for that logout is logged incorrectly – see bug posted minutes ago.)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                staffanu Staffan Ulfberg
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: