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

During the logou process, sometimes in the initiator side's log file there is an unsend logon message.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.3.0
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      windows 2000 professional. eclipse3.2

      Description

      Recently, I notice that during the logou process there is a strage behaveior: sometimes in the initiator side's log file there is an unsend logon message. I think the cause is: when the initiator receive an logout from acceptor, it will call disconnect method. In the disconnect method, it will setResponder(null), then set sessionstate as the initial state and it ends. Between it sets sessionstate as the initial state and it ends. Another thread session timer thread happenedly executes at
           if (!state.isLogonReceived()) {
                 if (state.isLogonSendNeeded())
       then, it will send a logon message, but it will not succeed because the Iosession has been closed.
      My solution is if (!state.isLogonReceived()&&hasResponder()) {
                 if (state.isLogonSendNeeded()) {

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                admin Steve Bate
                Reporter:
                mikegu Mike Gu
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: