Hi These patches enable the CGI plugin to work with an event-based model. The first two are needed for stability.
- Lauri
>From e07fa20e60eea36f733b60a5575d286373bb2820 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen <[email protected]> Date: Mon, 18 Jun 2012 14:20:52 +0300 Subject: [PATCH 1/3] plugin: epoll_del is needed here too for stability Signed-off-by: Lauri Kasanen <[email protected]> --- src/mk_plugin.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/mk_plugin.c b/src/mk_plugin.c index 4d64cab..e23696f 100644 --- a/src/mk_plugin.c +++ b/src/mk_plugin.c @@ -718,6 +718,9 @@ int mk_plugin_event_del(int socket) mk_list_del(head); mk_mem_free(node); mk_plugin_event_set_list(list); + + struct sched_list_node *sched = mk_sched_get_thread_conf(); + mk_epoll_del(sched->epoll_fd, socket); return 0; } } -- 1.7.2.1
_______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
