views:

170

answers:

0

I have an Ldap client and server running . The client creates Ldap connection and waits for 120 seconds. During this time , I will kill the ldap server and again restart it .

When the Ldap client wakes up from sleep 120, it will still think the connection to LDAP server is valid and sends the query to server. Because Server does not know this TCP connection, it will reply reset IMMEDIATELY

But now on client side what is the expected behavior .Would be helpful if I get correct exception stack trace that is expected on the client side on reset and in how much time the exception must be received at client.