[QFJ-617] disconnect() might not clear logoutSent flag Created: 12/Jul/11  Updated: 12/Oct/12  Resolved: 12/Oct/12

Status: Closed
Project: QuickFIX/J
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Default
Reporter: Staffan Ulfberg Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates QFJ-444 Logout logic problem Resolved

 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.)


Generated at Tue Apr 30 21:50:46 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.