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

Send too many logout messages when continuely received messages which has BadTime or doBadCompID

    Details

    • Type: Bug
    • Status: Open
    • Priority: Default
    • Resolution: Unresolved
    • Affects Version/s: 1.3.3
    • Fix Version/s: None
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      Windows XP

      Description

      Send too many logout messages when continuely received messages which has BadTime or doBadCompID.
      Session.java
      private void doBadCompID(Message msg) throws IOException, FieldNotFound

      { generateReject(msg, SessionRejectReason.COMPID_PROBLEM, 0); generateLogout("Bad CompID"); }

      private void doBadTime(Message msg) throws IOException, FieldNotFound

      { generateReject(msg, SessionRejectReason.SENDINGTIME_ACCURACY_PROBLEM, 0); generateLogout(); }

      Before Send a logout message, should check the session statues. isLogoutSent()

      private void doBadCompID(Message msg) throws IOException, FieldNotFound

      { generateReject(msg, SessionRejectReason.COMPID_PROBLEM, 0); if (!state.isLogoutSent()) generateLogout("Bad CompID"); }

      private void doBadTime(Message msg) throws IOException, FieldNotFound

      { generateReject(msg, SessionRejectReason.SENDINGTIME_ACCURACY_PROBLEM, 0); if (!state.isLogoutSent()) generateLogout(); }

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mikegu Mike Gu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: