SSL handshake blocks Perlbal

Brad Fitzpatrick brad at danga.com
Mon Aug 28 17:02:42 UTC 2006


Basically SSL can't be hidden away in a library like IO::Socket::SSL does,
at least not in a non-blocking event-based app.

You actually have to deal with all the SSL protocol requirements like
session renegotiations.



On Mon, 28 Aug 2006, Elliot F wrote:

> The code looks to be there in djabberd, and I asked if Brad was going to
>  port it, but (if you look at an email I sent on Aug 4th) it looks like
> Brad isn't going to be able to do it.  I may have time in a few months,
> so if it's not done by then, I may do it.
>
> The fix was using Net::SSLeay instead of IO::Socket::SSL.
>
> Elliot
>
> Mike Whitaker wrote:
> >
> > On 22 May 2006, at 16:53, Brad Fitzpatrick wrote:
> >
> >> Yes, indirectly:  another project of mine, DJabberd, uses the
> >> Danga::Socket event loop and we've figured out in there how to do SSL
> >> non-blocking.  Need to identify the common code and put it in a
> >> library or
> >> something so Perlbal can then use it.
> >
> > Any progress on this?
>
>


More information about the perlbal mailing list