From: Michael F. <mf...@ho...> - 2002-02-28 16:01:33
|
Hi, I am using Net::LDAP under a mod_perl environment and have one Problem: the Socket is alive as long as the apache-child is alive. I tried several things to fix it: - calling unbind at finalization does not help (netstat-status CLOSE_WAIT). - i tried to close the socket in the Net::LDAP Module after unbinding: ------------ my $msg = $ldap->_sendmesg($mesg); $ldap->{net_ldap_socket}->shutdown(2); return $msg; } ------------ The netstat-status after this is close, but the entry does not disappear. Have you got any ideas that could help me? thanks Michael |