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

Initiator's application.onLogout() is not called if Acceptor connection is forcibly closed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.3
    • Fix Version/s: 1.0.4
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      Java2 RE 1.4.2, Windows XP, Eclipse 3.1

      Description

      Set up two QuickFIX/J applications (one as acceptor, on as initiator) and connect them together, then terminate/kill the acceptor application (i.e. as if it had crashed) - the inititator application gets the "Disconnecting" event but its implementation of application.onLogout() is not called

      Diagnostic investigation suggests that Session.disconnect() is not returning from the line

      responder.disconnect();

      Terminating the initiator application in the same way doesn't have the same problem - the acceptor gets the "Disconnecting" event, followed by a call to its implementation of application.onLogout() as expected.

      I tried re-building both applications on QFJ 1.0.2 and doing the same tests; this seems to work OK for both sides, so I guess something's changed between the two releases.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                admin Steve Bate
                Reporter:
                raimesh Rob Gilliam
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: