Subject: | How an XS code of other module can detect mod_perl? (question, not bug) |
Hi,
we are currently solving some issue with Net::SSLeay which occurs only when running under apache2-mpm-prefork + mod_perl + mod_ssl (details are not important here but you can see https://rt.cpan.org/Ticket/Display.html?id=75841)
The trouble is that some openssl-threading initialization Net::SSLeay does in its BOOT: section (in SSLeay.XS) breaks something.
Is there a way how to detect in XS code (BOOT: section) of Net::SSLeay that the module (Net::SSLeay) was loaded my mod_perl? (which allows us to skip trouble-making initialization)
Thanks for any hint.
--
kmx
we are currently solving some issue with Net::SSLeay which occurs only when running under apache2-mpm-prefork + mod_perl + mod_ssl (details are not important here but you can see https://rt.cpan.org/Ticket/Display.html?id=75841)
The trouble is that some openssl-threading initialization Net::SSLeay does in its BOOT: section (in SSLeay.XS) breaks something.
Is there a way how to detect in XS code (BOOT: section) of Net::SSLeay that the module (Net::SSLeay) was loaded my mod_perl? (which allows us to skip trouble-making initialization)
Thanks for any hint.
--
kmx