[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 10. Sep 2018, at 12:02, Azat Khuzhin <a3at.mail@xxxxxxxxx> wrote:
> 
>>> commit f4b6284b8393dbabf389ddce734a30f4cdeffa17
>>>   be_openssl: don't add events during bev creation (like be_sock)
> 
> Thanks for the bisect!
> 
> Interesting, just revering it doesn't fixes the issue to me (on linux).
> And to reset to this commit I need openssl 1.0 (since I have 1.1), will
> prepare env for it and get back.
> 
>> The above bisect was done on macOS 10.14 - which works fine with Mesos l+ libevent 2.1.5 but breaks with libevent 2.1.8.
>> 
>> Will do the same bisect on Ubuntu 18.04 as well - just to be sure.
> 
Bisect on Ubuntu 18.04 resulted in the very same offender.

Reverting that commit makes things worse, not better. Instead of a timeout on the receive, we then get a failure already on the accept.

../../../3rdparty/libprocess/src/tests/ssl_tests.cpp:254: Failure
(socket).failure(): Failed accept: connection error: error:00000000:lib(0):func(0):reason(0)

This bisect and the revert results are based on libssl 1.0.

Will also keep pondering … and get back with new results.

***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.