[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] SSL problems after update to libeven 2.1.8



On Wed, Feb 14, 2018 at 04:33:07PM +0100, Alexander Rojas wrote:
> Really hard to achieve, I was playing around and failed to get a minimal reproducer.

Maybe you have a container with all this stuff (+debug symbols) ?
So that I can play in it.

> [debug] ../event.c: asked to terminate loop.

H, who asked this?

> [debug] timeout_next: event: 0x7f70d0000df0, in 0 seconds, 71990 useconds
> Error was 2
> Error was 5

So:
- 2 is SSL_ERROR_WANT_READ
- 5 is SSL_ERROR_SYSCALL
(according to openssl/ssl.h)

So can you add printing of errno along with SSL_get_error() in print_err()?

It looks like it got SSL_ERROR_WANT_READ and then tried to read() but
failed, and hence SSL_ERROR_SYSCALL.
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.