Aleksandr Guidrevitch wrote:
[...]
It doesn't matter how to fix Opera, but how can I work this situation around ?
Set timeout via signals ? Or there is another well-known solution ?

using SIGALRM is documented here:
http://perl.apache.org/docs/1.0/guide/debug.html#Handling_Server_Timeout_Cases_and_Working_with__SIG_ALRM_
Though it should be mentioned that starting from 5.8.0 perl uses "safe" signals delivery approach - i.e. it will deliver the signal only between the OPs and never during the OP, so if the function blocks forever inside an OP it's quite possible that the signal will never be delivered. But according to:
http://www.perldoc.com/perl5.8.0/pod/perldelta.html#Safe-Signals


"breaking out from potentially blocking operations should still work, though."

It probably means that SIGALRM is exempted from this change.
Please give it a try and report back your findings.
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to