mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Mahler <>
Subject Re: Review Request 72352: Fixed a bug where OpenSSLSocketImpl accept loop can silently stop.
Date Fri, 24 Apr 2020 19:14:47 GMT

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

(Updated April 24, 2020, 7:14 p.m.)

Review request for mesos and Greg Mann.


* Used .onReady instead of .then

Bugs: MESOS-10114

Repository: mesos


The accept loop was chaining the loop body Future on the result of
io::poll/io::read, which meant that any failed poll/read would cause
the loop body to return a failed future and the loop to stop running.

This would lead to the server socket silently no longer accepting
incoming connections.

Diffs (updated)

  3rdparty/libprocess/src/ssl/openssl_socket.hpp 0528c03faaa5f8372cf09c1f51be66934f405661

  3rdparty/libprocess/src/ssl/openssl_socket.cpp 3f4dab6b92f202ee89cc2e06db997c41e4c6ca00




Added a test in subsequent patch.


Benjamin Mahler

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