Re: [Quickfix-developers] SeqNum not incrementing
Brought to you by:
orenmnero
|
From: Dave L. <dav...@ma...> - 2006-06-21 16:00:39
|
> As a test, I hacked out some code to detect the duplicate > msgSeqNum sent with the heartbeat, and automatically > increment it as well as all subsequent messages. This causes > my application to work fine, despite still not having sent > the logonRequest message with ResetSeqNum field set to Y. > This doesn't strike me as appropriate behavior, should they > be persisting the connection without that message? > I've not really used the ResetSeqNumFlag but, as far as I understand, it's intended for resetting seqnums within a continuous 24 hour session. One side initiates the request by sending a reset Logon (with 141=Y and 34=1) and the other side responds by also sending a reset Logon (with 141=Y and 34=1); the parties thereby agreeing to the reset. If a reset logon is sent and no reset logon is returned by the counterparty, then I guess, yes, the connection should be terminated: "The connection should be shutdown and manual intervention taken if this process is initiated but not followed properly." Is the counterparty attempting to reset seqnums in a continuous 24 hour session? It seems odd to me that they are responding to your normal logon with a reset logon. Is this allowed? Perhaps someone else has a bit more experience with 24 hour sessions? cheers Dave |