Closed GoogleCodeExporter closed 8 years ago
This has already been fixed in subversion repository some time back. It only
affects Windows, or UNIX boxes which have a slightly crippled
Apache 2.X which doesn't have threading or some other feature compiled in to
it, thereby preventing daemon mode to be enabled. Add #if
around code in function at that line number as below.
static void wsgi_hook_child_init(apr_pool_t *p, server_rec *s)
{
#if defined(MOD_WSGI_WITH_DAEMONS)
WSGIProcessGroup *entries = NULL;
WSGIProcessGroup *entry = NULL;
int i;
/* Close listener sockets for daemon processes. */
if (wsgi_daemon_list) {
entries = (WSGIProcessGroup *)wsgi_daemon_list->elts;
for (i = 0; i < wsgi_daemon_list->nelts; ++i) {
entry = &entries[i];
close(entry->listener_fd);
entry->listener_fd = -1;
}
}
#endif
Original comment by Graham.Dumpleton@gmail.com
on 24 Sep 2008 at 11:48
Original issue reported on code.google.com by
davids...@gmail.com
on 24 Sep 2008 at 6:05