[Quickfix-developers] Problem with reset() because of generateLogout() if logon short before StartT
Brought to you by:
orenmnero
|
From: Subert M. <Mla...@sw...> - 2006-10-03 13:29:58
|
We have a problem with QuickFix 1.11.2 (compared with 1.9.4 version where it was ok) as during reset() the generateLogout() is called too. If partner tries to connect/logon short before StartTime ( i.e. outside the session times) then on our side 1) session is reseted 2) logout is sent (incrementing seq num) 3) session is reseted (reseting seq num) 4) session is reseted It seams that=20 1) the partner is suprised with our Logout and/or=20 2) by later connect/logon (after) StartTime the partner expects = SeqNum=3D2 inside our next Logon message but we will send SeqNum=3D1 as we have reseted the session and the partner does not knows that (message too low). Questions: Is Logout response (new in 1.11.2) allowed after Logon attempt short before StartTime (outside the session times), or would be better to only disconnect (as in 1.9.4) ?=20 Should generateLogout() be skipped (not sent) as consuming seqnum, if Logon is not accepted/responded and session is reseted because of checkSessionTimes ?=20 Thank for help. (303)20.09 06:55:00.360|BBHNE |Event FIX.4.2:P01->BBHNE RESET (303)20.09 06:55:00.485|BBHNE |In 8=3DFIX.4.2=019=3D0065=0135=3DA=0134=3D1=0152=3D20060920-04:55:00=01369=3D= 0=0156=3DP01=0149=3DBBHNE=0198 =3D0=01108=3D30=0110=3D178=01 (303)20.09 06:55:00.485|BBHNE |Out 8=3DFIX.4.2=019=3D47=0135=3D5=0134=3D1=0149=3DP01=0152=3D20060920-04:55:0= 0=0156=3DBBHNE=0110=3D029=01 (303)20.09 06:55:00.485|BBHNE |Event FIX.4.2:P01->BBHNE Disconnecting (303)20.09 06:55:00.485|BBHNE |Event FIX.4.2:P01->BBHNE RESET (303)20.09 06:55:00.485|BBHNE |Event FIX.4.2:P01->BBHNE Socket Error (303)20.09 06:55:00.485|BBHNE |Event FIX.4.2:P01->BBHNE RESET =20 =20 This message is for the named person's use only. It may contain = confidential, proprietary or legally privileged information. No = confidentiality or privilege is waived or lost by any mistransmission. = If you receive this message in error, please notify the sender urgently = and then immediately delete the message and any copies of it from your = system. Please also immediately destroy any hardcopies of the message. = You must not, directly or indirectly, use, disclose, distribute, print, = or copy any part of this message if you are not the intended recipient. = The sender's company reserves the right to monitor all e-mail = communications through their networks. Any views expressed in this = message are those of the individual sender, except where the message = states otherwise and the sender is authorised to state them to be the = views of the sender's company. |