Re: Perl syswrite and IO/SSL
Graham Barr <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.ldap |
|---|---|
| Message-ID | <[email protected]> |
On May 20, 2009, at 6:42 AM, Dale Moore wrote: >> Do you have the latest Net::SSLeay and IO::Socket::SSL installed ? > > Net::SSLeay VERSION 1:30 > IO::Socket::SSL VERSION 1.24 > > I believe that these are the latest on cpan.org . > >> When using SSL, the syswrite is effectively a call to >> Net::SSLeay::write_partial > > Ok. Thanks for that info. But just in case you are wondering, > I am not doing SSL, TLS, LDAPS, LDAPI, or start_tls on this > ldap exchange. Hm, that means that the socket is just a plain socket. So if syswrite is returning 1 and sending more bytes, then that is a bug in perl. As you pointed out, that whole loop is more complicated than it needs to be, so I would be interested to see if the issue is still there when written as you suggested. Graham.