From: Graham B. <gb...@po...> - 2003-01-15 15:08:18
|
----- Forwarded message from Mike Kruckenberg <mi...@kr...> ----- Date: Wed, 15 Jan 2003 08:00:35 -0700 (MST) To: <gb...@po...> From: Mike Kruckenberg <mi...@kr...> Subject: Net::LDAP Gary, I'm using Net::LDAP (v0.26) and Net::LDAPS in a mod_perl project running on Solaris 8. I'm using the standard bind and unbind as recommended in the docs but have found that upon unbind a netstat reveals that the socket is still hanging around. After a few days our application has used all the available sockets and Net::LDAP objects begin to fail. To work around this I added a $ldap->close method to Net::LDAP which calls close on the IO::Socket instantiated by the Net::LDAP object. I'm really quite new to open source and to your project. Not sure if I have violated some thinking about socket persistence or if my addition might be valuable to others. If it would be useful I'm happy to contribute if you could provide me with a method. Thanks, Mike ----- End forwarded message ----- |