You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm creating a FIX(4.4) client and I'm trying to implement a retry mechanism that stops the entire initiator and starts it all over again, I'm doing this since the Quickfix auto reconnect doesn't send a ResetOnLogon in the reconnect message.
but when I try to create a new initiator with the same session I get a Duplicate SessionID error, I was able to reproduce the error and it appears to be from this function
When you create a session (here) there is no way to remove it from this sessions map so when you create another initiator with same configs under the same thread you got the error Duplicate SessionID
We just need to remove the sessions map from global variables
I'm creating a FIX(4.4) client and I'm trying to implement a retry mechanism that stops the entire initiator and starts it all over again, I'm doing this since the Quickfix auto reconnect doesn't send a
ResetOnLogon
in the reconnect message.but when I try to create a new initiator with the same session I get a
Duplicate SessionID
error, I was able to reproduce the error and it appears to be from this functionit works as expected when I remove the session check.
The text was updated successfully, but these errors were encountered: