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
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(); }