Seems like TimeOut in httpd.conf doesn't work. According to the manual it will decide "in mod_cgi, the length of time to wait for output from a CGI script." However, I wrote a python script containing a very long loop (at least last for more than 3 minutes) before print some strings, and then configure the TimeOut to 1 (second). It turns out that when requesting that python script, the httpd will just keep waiting for the output, and the waiting time is definitely more than 1 second. In addition, after terminate the httpd with apachectl -k stop, the httpd progress is still running for a while. I do notice that there was another report about this issue https://issues.apache.org/bugzilla/show_bug.cgi?id=44270 But I do send httpd requests, instead of just "telneting to 80", and didn't see anything to do with AcceptFilter set. Thanks. Robert
Hi, Robert, Can you provide your configuration file (so that I can replay it)? Thanks a lot! Tianyin
After enable mod_cgi, just add " <Directory "PATH/TO/YOUR/SCRIPT"> Options +ExecCGI AddHandler cgi-script .cgi .pl .py </Directory> TimeOut 1 " to the httpd.conf file, and start the httpd server. (In reply to comment #1) > Hi, Robert, > > Can you provide your configuration file (so that I can replay it)? > Thanks a lot! > > Tianyin