You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Mathihalli, Madhusudan" <ma...@hp.com> on 2004/04/10 02:01:01 UTC

mod_cgi and apr_setup_signal_thread

Hello,
	I recently came across a very simple cgi script that does a "ping". The script hangs when mod_cgi is used but works correctly with mod_cgid !
Guess whatz the reason: the delivery of SIGALRM is disabled and 'ping' happens to use SIGALRM !

Question: Can we enable SIGALRM without breaking any other functionality ?

-Madhu

Sample test script:
-------------------
#!/bin/sh
echo "Content-type: text/html\n\n <html><body>"
echo ""
/usr/sbin/ping -v isuvw1.cup.hp.com -n 10
echo "</body></html>"