On 08/04/2014, at 5:04 AM, George Barbăroşie <[email protected]> wrote:
> Hello, > > I'm confused at the use of #if defined(MPM_ITK) in mod_wsgi.c in > wsgi_setup_socket. On gentoo the apache headers compiled with mpm_itk define > ITK_MPM but not MPM_ITK and I cannot find anything in the mpm_itk sources > defining MPM_ITK. Version 2.2.17-01 of mpm_itk (the one for apache 2.2 > series) defines ITK_MPM as well as MPM_NAME "ITK", but it does not set > MPM_ITK at all. This seems to also be in line with other MPM's, i.e. prefork > defines PREFORK_MPM not MPM_PREFORK, worker defines WORKER_MPM, etc. > > Could this be a typo in mod_wsgi or am I not looking in the right place in > the mpm_itk header files? Possibly. I went back to the original email about it from 2010 and it clearly had the correct way in it. What I don't understand is that people have used it successfully since then and no one else had said anything. Maybe it defined both at some point and removed the one which didn't match convention for other modules at some point. I could point at mod_fcgid and say they did it the same way, but actually looks like they copied what mod_wsgi was doing. :-) I will change it to check for both just in case. Graham -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
