Skip Menu |
 

This queue is for tickets about the mod_perl CPAN distribution.

Report information
The Basics
Id: 75971
Status: new
Priority: 0/
Queue: mod_perl

People
Owner: Nobody in particular
Requestors: kmx [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.