SSL handshake blocks Perlbal

Brad Fitzpatrick brad at danga.com
Mon May 22 15:53:41 UTC 2006


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.


On Mon, 22 May 2006, Elliot Foster wrote:

> Not to bring up a relatively old topic, but has this subject been
> pursued at all?
>
> Brad Fitzpatrick wrote:
> > I feared something like this might happen.
> >
> > I have no answer except begging the IO::Socket::SSL maintainer to look at
> > Perlbal and try to fix make IO::Socket::SSL non-blocking in that phase.  :/
> >
> > - Brad
> >
> >
> > On Mon, 7 Nov 2005, Alessandro Ranellucci wrote:
> >
> >
> >>Greetings,
> >>
> >>an easy way to block an instance of Perlbal running SSL is to open a
> >>telnet session to its port. The accept() method will then wait for
> >>client handshake, thus blocking the whole application.
> >>
> >>See this thread for further information:
> >>http://www.cpanforum.com/threads/433
> >>
> >>We would need a non-blocking IO::Socket::SSL port. :-(
> >>Brad, any clue?
> >>
> >>  - alessandro ranellucci.
> >>
> >>
>
>


More information about the perlbal mailing list