httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathihalli, Madhusudan" <mad...@hp.com>
Subject mod_cgi and apr_setup_signal_thread
Date Sat, 10 Apr 2004 00:01:01 GMT
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>"

Mime
View raw message