Discussion Forums

re: Logon messages sent but not received
Scott Atwell / American Century <>
15 Dec 1997 7:58AM ET

Re: Scenario 1, it's my opinion that the Initiator should simply wait some reasonable period of time for the Logon response and then disconnect (and possible re-issue a connect and logon sequence). I do not think it's appropriate to send Heartbeats, TestRequests, or business-level messages over a session which has not been acknowledged at the logon level or has not yet resolved a discrepancy with regards to sequence numbers. The Logon message should not be resent so I do not think it would be appropriate for the Initiator to resend the Logon with PossDupFlag=Y solicited or unsolicited.

Re: Scenario 2. I do not think the Initiator should wait forever. I would recommend a governor waiting some reasonable period of time for the Logon response after which the Initiator should drop the connection and maybe try again.

> What should happen in the following scenarios:
>
> Scenario 1:
>
> Initiator sends Logon#x but not received by Acceptor.
> Initiator is left waiting for Logon reply which is never sent.
>
> Maybe Initiator times out after HeartBtInt and resends
> Logon#x with PossDupFlag=Y. Acceptor receives the
> Logon and processes it in normal way. Easy enough ?
>
> or should the Initiator start pumping out Heartbeats and Test Requests after HeartBtInt period has gone by ?
> I don't think that this would work at the Acceptor end.
>
> but Scenario 2:
>
> Initiator sends Logon#x and is received by Acceptor.
> Acceptor sends Logon#y but not received by Initiator.
> Initiator thinks "I'm logging in", Acceptor "I'm logged in".
>
> Acceptor sends message#y+1 after some interval,
> maybe heartbeat, test request or application message.
> Initiator detects gap and sends ResendRequest#x+1.
> Acceptor replaces Logon#x with SeqReset-GapFill#x.
>
> The Initiator doesn't receive the Logon reply and
> (the implementation I'm testing) waits forever :-(
>
> What should the Initiator do in this case ?
> Drop the connection or continue regardless ?
>


Logon messages sent but not received
Richard Alfred-Jones   15 Dec 1997 6:29AM ET
re: Logon messages sent but not received
Scott Atwell / American Century   15 Dec 1997 7:58AM ET