[Date Prev][Date Next]
Re: test for connection timeout?
--On Sunday, April 01, 2007 12:52 AM -0400 Brandon McCombs
Can anyone tell me whether OpenLDAP has provisions for a client to
determine whether a connection has timed out proactively instead of
alerting a user that the connection has been closed due to timeout only
after they attempt an operation? If not then I'll know I will have to
roll my own method of keeping the connection alive through a periodic
query of some sort.
You might look at the persistent search function in my Stanford::Directory
which tests to see if the connection has closed, and if it has, reopens it,
before performing a search.
Senior Systems Software Developer
ITS/Shared Application Services
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html