case SIGHUP:
comm_base_exit(worker->base);
break;
+#endif
+#ifdef SIGBREAK
+ case SIGBREAK:
#endif
case SIGINT:
worker->need_to_exit = 1;
if(do_sigs) {
#ifdef SIGHUP
ub_thread_sig_unblock(SIGHUP);
+#endif
+#ifdef SIGBREAK
+ ub_thread_sig_unblock(SIGBREAK);
#endif
ub_thread_sig_unblock(SIGINT);
#ifdef SIGQUIT
|| !comm_signal_bind(worker->comsig, SIGQUIT)
#endif
|| !comm_signal_bind(worker->comsig, SIGTERM)
+#ifdef SIGBREAK
+ || !comm_signal_bind(worker->comsig, SIGBREAK)
+#endif
|| !comm_signal_bind(worker->comsig, SIGINT)) {
log_err("could not create signal handlers");
worker_delete(worker);
+11 February 2022: Wouter
+ - Fix #624: Unable to stop Unbound in Windows console (does not
+ respond to CTRL+C command).
+
7 February 2022: Wouter
- Fix that TCP interface does not use TLS when TLS is also configured.