Skip to content

Commit

Permalink
reload of TLS certificates after a crash #4658
Browse files Browse the repository at this point in the history
Closes #4658
  • Loading branch information
renecannao committed Sep 20, 2024
1 parent 04abd43 commit abae58e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1668,6 +1668,9 @@ bool ProxySQL_daemonize_phase3() {
proxy_info("ProxySQL SHA1 checksum: %s\n", binary_sha1);
}
call_execute_on_exit_failure();
// automatic reload of TLS certificates after a crash , see #4658
std::string msg;
ProxySQL_create_or_load_TLS(false, msg);
parent_close_error_log();
return false;
}
Expand Down

0 comments on commit abae58e

Please sign in to comment.