httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thom May <t...@planetarytramp.net>
Subject [PATCH] Enable -k for threadpool MPM
Date Thu, 06 Jun 2002 22:39:44 GMT
Mostly because I've been running threadpool for a while and the lack of this
support was getting annoying.
Cheers,
-Thom
-- 
Thom May -> thom@planetarytramp.net

ICANN has been making all their meetings closed door so nobody can see that
they've been spending the majority of their budget on crack...



Index: server/mpm/experimental/threadpool/mpm.h
===================================================================
RCS file: /home/cvspublic/httpd-2.0/server/mpm/experimental/threadpool/mpm.h,v
retrieving revision 1.1
diff -u -u -r1.1 mpm.h
--- server/mpm/experimental/threadpool/mpm.h	16 Apr 2002 23:37:06 -0000	1.1
+++ server/mpm/experimental/threadpool/mpm.h	6 Jun 2002 22:17:13 -0000
@@ -74,6 +74,7 @@
 #define AP_MPM_WANT_SET_MAX_REQUESTS
 #define AP_MPM_WANT_SET_COREDUMPDIR
 #define AP_MPM_WANT_SET_ACCEPT_LOCK_MECH
+#define AP_MPM_WANT_SIGNAL_SERVER
 #define AP_MPM_DISABLE_NAGLE_ACCEPTED_SOCK
 
 #define MPM_CHILD_PID(i) (ap_scoreboard_image->parent[i].pid)
Index: server/mpm/experimental/threadpool/threadpool.c
===================================================================
RCS file: /home/cvspublic/httpd-2.0/server/mpm/experimental/threadpool/threadpool.c,v
retrieving revision 1.9
diff -u -u -r1.9 threadpool.c
--- server/mpm/experimental/threadpool/threadpool.c	30 May 2002 00:21:27 -0000	1.9
+++ server/mpm/experimental/threadpool/threadpool.c	6 Jun 2002 22:17:53 -0000
@@ -2308,7 +2308,7 @@
 
 module AP_MODULE_DECLARE_DATA mpm_threadpool_module = {
     MPM20_MODULE_STUFF,
-    NULL,                       /* hook to run before apache parses args */
+    ap_mpm_rewrite_args,        /* hook to run before apache parses args */
     NULL,                       /* create per-directory config structure */
     NULL,                       /* merge per-directory config structures */
     NULL,                       /* create per-server config structure */

Mime
View raw message