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

Review request for mesos, Artem Harutyunyan and Joris Van Remoortere.

Repository: mesos


This moves the initialization of the SSL `Flags` into the `initialize` method.

Prior to this, SSL flags would not be completely cleaned up between tests.  
Test cleanup unsets all environment variables related to SSL.  However, the 
flags object would persist some of these variables between tests.
For example:
1) Test 1 unsets all flags, then sets flag `SSL_CA_FILE`.
2) Test 2 unsets all flags, then sets flag `SSL_CA_DIR`.  `SSL_CA_FILE` will 
still be set.
3) Test 3 unsets all flags.  `SSL_CA_FILE` and `SSL_CA_DIR` are still set.


  3rdparty/libprocess/src/openssl.cpp 9ae5c1f0849aba3e2f858fb9fd31e6e65cf24b4f 

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


../configure --enable-ssl --enable-libevent
make check

Note: Only the tests will call `reinitialize`.


Joseph Wu

Reply via email to