Codebase list unbound / 1224cd9
- Fix windows compile for libunbound subprocess reap comm point closes. W.C.A. Wijngaards 1 year, 3 months ago
2 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 2 January 2023: Wouter
1 - Fix windows compile for libunbound subprocess reap comm point closes.
2
03 14 December 2022: George
14 - Merge #569 from JINMEI Tatuya: add keep-cache option to
25 'unbound-control reload' to keep caches.
310310 * it and only one should clean up, the one with getpid == pipe_pid.*/
311311 if(ctx->created_bg && ctx->pipe_pid != getpid()) {
312312 do_stop = 0;
313 #ifndef USE_WINSOCK
313314 /* Stop events from getting deregistered, if the backend is
314315 * epoll, the epoll fd is the same as the other process.
315316 * That process should deregister them. */
321322 ctx->rr_pipe->listen_com->event_added = 0;
322323 if(ctx->rr_pipe->res_com)
323324 ctx->rr_pipe->res_com->event_added = 0;
325 #endif
324326 }
325327 /* see if bg thread is created and if threads have been killed */
326328 /* no locks, because those may be held by terminated threads */