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

Logon with negative heartbeat interval (HeartBtInt) should be rejected

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Default
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.2
    • Component/s: Engine
    • Labels:

      Description

      When logging on with a negative heartbeat interval, the Logon is accepted but then the connection is terminated immediately due to a Heartbeat timeout ("Disconnecting: Timed out waiting for heartbeat").

      I would propose to reject the Logon in case of a negative HeartBtInt setting.

      Maybe the check for the negative interval should be done somewhere at the beginning inside Session.nextLogon(). Is this a valid place for this check? Any comments?

        Attachments

          Activity

            People

            • Assignee:
              chrjohn Christoph John
              Reporter:
              chrjohn Christoph John
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: