mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Wu <>
Subject Review Request 58059: Changed libprocess SocketManager to refer to HttpProxy by PID.
Date Thu, 30 Mar 2017 01:20:10 GMT

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

Review request for mesos, Benjamin Mahler and Greg Mann.

Bugs: MESOS-6919

Repository: mesos


HttpProxy actors are spawned to manage incoming HTTP connections.
These actors are themselves garbage collected, meaning it is unsafe
to refer to an HttpProxy by pointer (which is what is currently done).

During libprocess finalization, it is possible for an incoming
connection to spawn an HttpProxy, whose pointer is then deleted by
finalization.  This leads to a potential segfault when cleaning up
the incoming connection, as the SocketManager will dereference
any related HttpProxy actors by pointer.


  3rdparty/libprocess/src/process.cpp f6ee24e2db43d63d91222549efee85421bbf9bf3 



With the additional test here:

make check

3rdparty/libprocess/src/tests/libprocess-tests --gtest_filter="*RapidReconnect*" --gtest_repeat=1000


Joseph Wu

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