mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Till Toenshoff via Review Board <>
Subject Review Request 68906: Fixed ssl build specific incompatiblity with libevent later than 2.1.5.
Date Wed, 03 Oct 2018 01:31:39 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for mesos, Benjamin Mahler and James Peach.

Bugs: MESOS-9265

Repository: mesos


Up until and including libevent 2.1.5 (beta) the buffer events EV_READ
and EV_WRITE were enabled by default in the openssl related socket

That got changed by f4b6284b8393dbabf389ddce734a30f4cdeffa17 within
libevent; the default expectancy of read and write buffer events got

The changes in libevent in turn caused our implementation on top of it
to fail, typically directly after accept and connect calls.

The libevent maintainer Azat Khuzhin has generously been helping us out
by debugging and fixing the incomplete setup within libprocess.

This patch is based on Azat's suggestions from
It has been validated against libevent 2.0.22, 2.1.8 and 2.2 (alpha)
on macOS 10.14.1 and Ubuntu 16.04.


  3rdparty/libprocess/src/posix/libevent/libevent_ssl_socket.cpp 436b38913e43233e352cf9783da8fafefa42226f



make check with and without bundled libevent.

Tested combinations were:
macOS 10.14.1 - libevent 2.2
macOS 10.14.1 - libevent 2.1.8
macOS 10.14.1 - libevent 2.0.22 
Ubuntu 16.04  - libevent 2.1.8


Till Toenshoff

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message