You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We already have the ENABLE_SASL option which is default OFF, and we used to regard that SSL module is a MUST HAVE.
But the SSL init in net/security-context/tls-stream.cpp will register Photon mutex, and will potentially cause core dumps if the app has used other third-party libs depends on SSL.
Since we can't remove all the third-party which might still be using std::threads, we sometimes need to disable SSL in Photon.
The new ENABLE_TLS option will only affect RPC client and HTTP client, and can defaults to ON.
Another option is not to add this option, but to change RPC client API. If not passing a TLSContext*, the TLS stream will not be initialized, so the SSL global init will not be called.
The text was updated successfully, but these errors were encountered:
We already have the
ENABLE_SASL
option which is default OFF, and we used to regard that SSL module is a MUST HAVE.But the SSL init in
net/security-context/tls-stream.cpp
will register Photon mutex, and will potentially cause core dumps if the app has used other third-party libs depends on SSL.Since we can't remove all the third-party which might still be using std::threads, we sometimes need to disable SSL in Photon.
The new
ENABLE_TLS
option will only affect RPC client and HTTP client, and can defaults to ON.Another option is not to add this option, but to change RPC client API. If not passing a
TLSContext*
, the TLS stream will not be initialized, so the SSL global init will not be called.The text was updated successfully, but these errors were encountered: