Fix compile error

This commit is contained in:
Tatsuhiro Tsujikawa 2021-09-29 21:05:46 +09:00
parent df064fa2ba
commit d9c7631dcb
1 changed files with 2 additions and 0 deletions

View File

@ -175,9 +175,11 @@ void ipc_readcb(struct ev_loop *loop, ev_io *w, int revents) {
case SHRPX_IPC_REOPEN_LOG:
reopen_log(conn_handler);
break;
#if defined(ENABLE_HTTP3) && defined(HAVE_LIBBPF)
case SHRPX_IPC_UNLOAD_BPF_OBJECT:
conn_handler->unload_bpf_objects();
break;
#endif // defined(ENABLE_HTTP3) && defined(HAVE_LIBBPF)
}
}
}