diff options
Diffstat (limited to 'proxy/src/gp_init.c')
-rw-r--r-- | proxy/src/gp_init.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/proxy/src/gp_init.c b/proxy/src/gp_init.c index 376b97e..3430c90 100644 --- a/proxy/src/gp_init.c +++ b/proxy/src/gp_init.c @@ -102,12 +102,6 @@ static void break_loop(verto_ctx *vctx, verto_ev *ev) verto_break(vctx); } -static void reload_conf(verto_ctx *vctx, verto_ev *ev) -{ - GPDEBUG("Reloading configuration after receiving a signal\n"); - /* TODO */ -} - verto_ctx *init_event_loop(void) { verto_ctx *vctx; @@ -136,16 +130,12 @@ verto_ctx *init_event_loop(void) verto_free(vctx); return NULL; } - ev = verto_add_signal(vctx, VERTO_EV_FLAG_PERSIST, reload_conf, SIGHUP); - if (!ev) { - verto_free(vctx); - return NULL; - } ev = verto_add_signal(vctx, VERTO_EV_FLAG_PERSIST, VERTO_SIG_IGN, SIGPIPE); if (!ev) { verto_free(vctx); return NULL; } + /* SIGHUP handler added in main */ return vctx; } |