From: Graham B. <gb...@po...> - 2001-07-04 12:00:51
|
On Wed, Jul 04, 2001 at 10:35:11AM +0100, Graham Barr wrote: > On Wed, Jul 04, 2001 at 10:26:50AM +0100, Chris Ridd wrote: > > Graham Barr <gb...@po...> wrote: > > > On Wed, Jul 04, 2001 at 09:58:37AM +0100, Chris Ridd wrote: > > >> Graham Barr <gb...@po...> wrote: > > >> > On Wed, Jul 04, 2001 at 09:12:01AM +0100, Chris Ridd wrote: > > >> IIRC, IO::Socket::SSL needs to support send() and recv(), which I > > >> imagined would mean it (and by extension Net::SSLeay) needed rewriting > > >> to use openssl's non-blocking I/O. > > > > > > Is this because Net::LDAP currently uses send() and recv() ? > > > > Yes. I thought it was doing that in case we wanted to support CLDAP (a > > version of LDAP over UDP) at some point. > > There are always other ways to solve that. And right now I would > rather support LDAPS than CLDAP > > > > Is the Net::LDAPS in CVS upto date ? > > > > Yes. > > OK, I will make the changes. OK, I have commited the changes to CVS, please check that I have not broken Net::LDAPS It seems to ne we can add this to Net::LDAP sub start_tls { my $ldap = shift; require IO::Socket::SSL; IO::Socket::SSL::startTLS($ldap->socket); } yes ? Graham. |