Re: [Quickfix-developers] Mistaken Test Request by QuickFIX
Brought to you by:
orenmnero
From: Mike G. <mg...@co...> - 2008-08-01 18:29:12
|
> Yes it causes problems. It tells the health of my FIX connections. > Missing a heartbeat is a big deal. It only becomes a big deal (i.e. the connection is considered lost) when one end of the connection sends no data for HeartBtInt seconds *AND* it additionally fails to respond to a TestRequest within HeartBtInt seconds. Here's what the spec has to say: When either end of a FIX connection has not sent any data for [HeartBtInt] seconds, it will transmit a Heartbeat message. When either end of the connection has not received any data for (HeartBtInt + “some reasonable transmission time”) seconds, it will transmit a Test Request message. If there is still no Heartbeat message received after (HeartBtInt + “some reasonable transmission time”) seconds then the connection should be considered lost and corrective action be initiated. In the scenario you posted, could the Rejected message be counted as data received within the HeartBtInt period, thus obviating the need for the TestRequest? I suppose it could. However, it does not end up mattering if it does not count it because a TestRequest was sent and correctly responded to. Which means that the connection is still "healthy". Am I understanding your concern correctly? -- Mike Gatny Connamara Systems, LLC http://www.connamara.com/ |