feat: Add some improvments

This commit is contained in:
2025-04-23 18:26:51 +10:00
parent 49592ed4c0
commit 80abb9e4dd
2 changed files with 80 additions and 24 deletions

View File

@@ -710,7 +710,11 @@ void proxy_cleanup() {
void handle_signal(int sig) {
if (sig == SIGINT) {
printf("\nShutting down proxy server...\n");
printf("Cleaning up temporary certificates...\n");
// Clean up DANE resources (which will delete all generated certificates)
proxy_cleanup();
exit(0);
}
}