more useful options | |
PerlMonks |
explicit disconnect in Net::LDAPby amphiplex (Monk) |
on Nov 11, 2002 at 17:02 UTC ( [id://211972]=perlquestion: print w/replies, xml ) | Need Help?? |
amphiplex has asked for the wisdom of the Perl Monks concerning the following question:
Hi !
I have just experienced some problems with too many open connections to an LDAP server. It looks like some script of mine is responsible for that, because I have never called unbind() but the script is running in mod_perl Registry mode. Running some tests against netcat I saw that unbind() does not disconnect the socket, the network connection stays open. I believe that this will only occur if the LDAP-server has a problem, but I would really like to make sure that the connection is closed. Does anyone know of a way to close the socket using Net::LDAP ? I couldn't find anything in the docs. Thanks, ---- amphiplex
Back to
Seekers of Perl Wisdom
|
|