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

Sequence numbers not checked for incoming ResendRequest

    Details

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

      Description

      When QF/J receives a ResendRequest it does not check for the MsgSeqNum of the ResendRequest. Depending on the MsgSeqNum on the ResendRequest it does the following (no PossDup flag was set):

      • MsgSeqNum on ResendRequest too low: QF/J performs the normal resending or SequenceReset, incoming sequence number is not altered
      • MsgSeqNum on ResendRequest correct: QF/J performs the normal resending or SequenceReset, incoming sequence number is incremented
      • MsgSeqNum on ResendRequest too high: QF/J performs the normal resending or SequenceReset, incoming sequence number is not altered

      According to the spec (e.g. http://fixprotocol.org/documents/3070/FIX_Transport_1.1.pdf on pages 12 and 13) the behaviour should be as follows:

      • MsgSeqNum too low: terminate the connection
      • MsgSeqNum too high: perform the normal resending or SequenceReset, afterwards send a ResendRequest of your own to fill the gap

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: