[JDEV] Fix to make Jabberd on Solaris deal with SSL
Andrew J Cosgriff
ajc at polydistortion.net
Wed May 16 17:55:30 CDT 2001
On my Solaris 7 box, the SSL_accept in _mio_ssl_accept (mio_ssl.c:168)
causes an SSL_ERROR_WANT_READ, which means you're just meant to call
SSL_accept again until the error goes away.
...but you won't find this out unless you change ERR_get_error() to
SSL_get_error(ssl,ret), just below (line 172).
Of course I only came across a mention of the same problem on the web
/after/ I'd debugged and fixed it (argh !) -
http://urw.org/lists/archives/2001/3/OpenSSL-Users/0948.html
I didn't see any mention of it in the jabber lists, though, and
mio_ssl.c in CVS is the same as shipped in 1.4.1. If it really is
still an unfixed problem, I can send a diff, I guess (although it
should be easy enough to fix given the above description).
Enjoy,
Cos
--
Andrew J Cosgriff <ajc at polydistortion.net> easy draw. more flavour.
More information about the JDev
mailing list