Skip to content

Commit

Permalink
Fix openssl thread safety issue
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf committed Jan 7, 2021
1 parent 927a801 commit b516d69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/master.cc
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ int Server::start_check() {
/**
* OpenSSL thread-safe
*/
if (is_base_mode()) {
if (is_process_mode() && !single_thread) {
swSSL_init_thread_safety();
}
#endif
Expand Down

0 comments on commit b516d69

Please sign in to comment.