1
This commit is contained in:
1 parent
cbc5e35383
commit
7148abc415
2 files changed
+4
-3
No files matched your search
@@ -2,8 +2,6 @@
|
||||
#include "../lib/debug_config.h"
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
static const char* tcp_flags_to_str(uint8_t flags) {
|
||||
static char buf[32];
|
||||
|
||||
+4
-1
@@ -249,9 +249,12 @@ struct UASYNC* main_ua = NULL;
|
||||
static void signal_handler(int sig) {
|
||||
if (sig == SIGINT || sig == SIGTERM) {
|
||||
g_shutdown = 1;
|
||||
} else if (sig == SIGHUP) {
|
||||
}
|
||||
#ifndef _WIN32
|
||||
else if (sig == SIGHUP) {
|
||||
g_reload = 1;
|
||||
}
|
||||
#endif
|
||||
if (main_ua) {
|
||||
uasync_wakeup(main_ua);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user