-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/53997/
-----------------------------------------------------------

Review request for mesos, Benjamin Mahler and Joris Van Remoortere.


Bugs: MESOS-6621
    https://issues.apache.org/jira/browse/MESOS-6621


Repository: mesos


Description
-------

This fixes some potential CHECK failures when a libprocess process
has (1) SSL downgrade enabled and (2) temporary and persistent
connections open with the same remote address.  The second point is
only possible if messages are to a remote address without a persistent
connection and then a persistent connection is created.

The SSL downgrade path was only checking if the address of a socket
matched when performing the downgrade.  The code must also check to
see if the socket itself matches.


Diffs
-----

  3rdparty/libprocess/src/process.cpp 6dc10dfcbcb712218fa42d9c7865e00f4a6df3b9 

Diff: https://reviews.apache.org/r/53997/diff/


Testing
-------

See related ticket for the clunky unit test.  Ran that test in repetition.

make check


Thanks,

Joseph Wu

Reply via email to