From: Bob P. <bo...@pr...> - 2000-06-05 12:22:42
|
Hi, seems someone forgot a parameter to _sendmesg in the definition of unbind(). Makes perl throw a runtime error when calling unbind(). --- perl-ldap-0.16/lib/Net/LDAP.pm.orig Mon Jun 5 13:58:25 2000 +++ perl-ldap-0.16/lib/Net/LDAP.pm Mon Jun 5 13:10:44 2000 @@ -138,7 +138,7 @@ controls => $arg->{control} ) or return $mesg->set_error(LDAP_ENCODING_ERROR,"$@"); - $ldap->_sendmesg(); + $ldap->_sendmesg($mesg); } We had a problem with perl-ldap a few times that it would just hang when calling the search() method, and not send out any requests to the server anymore, but I couldn't reproduce it yet, though I suspect that it might have something to do with the connection to the ldap server having been open for a few days already in each case. Have been told that the error message included something about buffers, though I'm not sure about this. I suspect perl-ldap could be leaking something somewhere. This was all under perl-ldap 0.13. |