You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2012/03/08 00:44:59 UTC
DO NOT REPLY [Bug 52851] New: Core TimeOut directive doesn't work
https://issues.apache.org/bugzilla/show_bug.cgi?id=52851
Bug #: 52851
Summary: Core TimeOut directive doesn't work
Product: Apache httpd-2
Version: 2.4.1
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core
AssignedTo: bugs@httpd.apache.org
ReportedBy: rsm219@gmail.com
Classification: Unclassified
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
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 52851] Core TimeOut directive doesn't work
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52851
--- Comment #2 from robert <rs...@gmail.com> 2012-03-08 00:58:30 UTC ---
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
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 52851] Core TimeOut directive doesn't work
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52851
--- Comment #1 from Tianyin Xu <ti...@cs.ucsd.edu> 2012-03-08 00:18:12 UTC ---
Hi, Robert,
Can you provide your configuration file (so that I can replay it)?
Thanks a lot!
Tianyin
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org