Closed GoogleCodeExporter closed 8 years ago
Following patch is sufficient to get it compiling for now.
Index: mod_wsgi.c
===================================================================
--- mod_wsgi.c (revision 1535)
+++ mod_wsgi.c (working copy)
@@ -9655,7 +9655,11 @@
sconfig = ap_get_module_config(cmd->server->module_config, &wsgi_module);
+#if !defined(AP_ACCEPT_MUTEX_TYPE)
sconfig->lock_mechanism = ap_accept_lock_mech;
+#else
+ sconfig->lock_mechanism = APR_LOCK_DEFAULT;
+#endif
if (!strcasecmp(arg, "default")) {
sconfig->lock_mechanism = APR_LOCK_DEFAULT;
Just means cant rely on AcceptMutex as a default if overridden and need to
separately specify WSGIAcceptMutex.
Changes applied in revision 1536 of trunk for mod_wsgi 4.0 and in revision 1537
in branch for mod_wsgi 3.2.
Original comment by Graham.Dumpleton@gmail.com
on 9 Mar 2010 at 8:01
Version 3.2 of mod_wsgi released with this fix.
Original comment by Graham.Dumpleton@gmail.com
on 9 Mar 2010 at 10:13
Original issue reported on code.google.com by
Graham.Dumpleton@gmail.com
on 4 Mar 2010 at 11:32