[QFJ-369] Send too many logout messages when continuely received messages which has BadTime or doBadCompID Created: 06/Nov/08  Updated: 06/Nov/08

Status: Open
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: 1.3.3
Fix Version/s: None

Type: Bug Priority: Default
Reporter: Mike Gu Assignee: Unassigned
Resolution: Unresolved Votes: 0
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(); }
Generated at Sat Nov 23 16:11:35 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.