You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by el...@apache.org on 2017/01/30 12:57:00 UTC

svn commit: r1780907 - /httpd/httpd/trunk/docs/manual/mod/core.xml

Author: elukey
Date: Mon Jan 30 12:57:00 2017
New Revision: 1780907

URL: http://svn.apache.org/viewvc?rev=1780907&view=rev
Log:
Add more info about the role of Timeout for mod_cgi

PR 60404 asks if the Timeout directive is related to
the amount of time to wait for the entire CGI script's
output or only the first byte received.
Checking in mod_cgi.c -> cgi_bucket_read shows a
apr_pollset_poll that should support the latter.


Modified:
    httpd/httpd/trunk/docs/manual/mod/core.xml

Modified: httpd/httpd/trunk/docs/manual/mod/core.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/core.xml?rev=1780907&r1=1780906&r2=1780907&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/core.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/core.xml Mon Jan 30 12:57:00 2017
@@ -4667,7 +4667,8 @@ certain events before failing a request<
       full.</li>
 
       <li>In <module>mod_cgi</module> and <module>mod_cgid</module>,
-      the length of time to wait for output from a CGI script.</li>
+      the length of time to wait for the first byte of the
+      CGI script's output.</li>
 
       <li>In <module>mod_ext_filter</module>, the length of time to
       wait for output from a filtering process.</li>



Re: svn commit: r1780907 - /httpd/httpd/trunk/docs/manual/mod/core.xml

Posted by Luca Toscano <to...@gmail.com>.
2017-01-30 15:49 GMT+01:00 Yann Ylavic <yl...@gmail.com>:

> On Mon, Jan 30, 2017 at 3:29 PM, Eric Covener <co...@gmail.com> wrote:
> >
> > my 2c:
> >
> > "In mod_cgi (and mod_cgid), the length of time to wait for any
> > individual block of output from a CGI script."
>
> +1 :)
>

+1, will ask in the PR a feedback as well but it looks simple and complete.

Thanks!

Luca

Re: svn commit: r1780907 - /httpd/httpd/trunk/docs/manual/mod/core.xml

Posted by Yann Ylavic <yl...@gmail.com>.
On Mon, Jan 30, 2017 at 3:29 PM, Eric Covener <co...@gmail.com> wrote:
>
> my 2c:
>
> "In mod_cgi (and mod_cgid), the length of time to wait for any
> individual block of output from a CGI script."

+1 :)

Re: svn commit: r1780907 - /httpd/httpd/trunk/docs/manual/mod/core.xml

Posted by Eric Covener <co...@gmail.com>.
On Mon, Jan 30, 2017 at 9:25 AM, Yann Ylavic <yl...@gmail.com> wrote:
> On Mon, Jan 30, 2017 at 3:07 PM, Luca Toscano <to...@gmail.com> wrote:
>>> >
>>> > PR 60404 asks if the Timeout directive is related to
>>> > the amount of time to wait for the entire CGI script's
>>> > output or only the first byte received.
>>> > Checking in mod_cgi.c -> cgi_bucket_read shows a
>>> > apr_pollset_poll that should support the latter.
>>>
>>> Timeout for the first byte indeed, but more generally for each chunk
>>> of the response until the end of stream (should the response be sent
>>> in multiple/successive pieces of data).
>>> Actually this is an incomplete response inactivity timeout.
>>
>>
>> Yes it makes sense, what about the following description:
>>
>> " ..the length of time to wait for any sign of activity from the CGI script,
>> like the first byte of the output or any block of bytes emitted by the CGI
>> script."
>
> "the time to wait for response data, either the first bytes or each
> subsequent pieces of data as emitted by the CGI script." ?
>
> (but english is not my native language ;)

my 2c:

"In mod_cgi (and mod_cgid), the length of time to wait for any
individual block of output from a CGI script."

Re: svn commit: r1780907 - /httpd/httpd/trunk/docs/manual/mod/core.xml

Posted by Yann Ylavic <yl...@gmail.com>.
On Mon, Jan 30, 2017 at 3:07 PM, Luca Toscano <to...@gmail.com> wrote:
>> >
>> > PR 60404 asks if the Timeout directive is related to
>> > the amount of time to wait for the entire CGI script's
>> > output or only the first byte received.
>> > Checking in mod_cgi.c -> cgi_bucket_read shows a
>> > apr_pollset_poll that should support the latter.
>>
>> Timeout for the first byte indeed, but more generally for each chunk
>> of the response until the end of stream (should the response be sent
>> in multiple/successive pieces of data).
>> Actually this is an incomplete response inactivity timeout.
>
>
> Yes it makes sense, what about the following description:
>
> " ..the length of time to wait for any sign of activity from the CGI script,
> like the first byte of the output or any block of bytes emitted by the CGI
> script."

"the time to wait for response data, either the first bytes or each
subsequent pieces of data as emitted by the CGI script." ?

(but english is not my native language ;)

Re: svn commit: r1780907 - /httpd/httpd/trunk/docs/manual/mod/core.xml

Posted by Luca Toscano <to...@gmail.com>.
Hi Yann!

2017-01-30 14:23 GMT+01:00 Yann Ylavic <yl...@gmail.com>:

> Hi Luca,
>
> On Mon, Jan 30, 2017 at 1:57 PM,  <el...@apache.org> wrote:
> > Author: elukey
> > Date: Mon Jan 30 12:57:00 2017
> > New Revision: 1780907
> >
> > URL: http://svn.apache.org/viewvc?rev=1780907&view=rev
> > Log:
> > Add more info about the role of Timeout for mod_cgi
> >
> > PR 60404 asks if the Timeout directive is related to
> > the amount of time to wait for the entire CGI script's
> > output or only the first byte received.
> > Checking in mod_cgi.c -> cgi_bucket_read shows a
> > apr_pollset_poll that should support the latter.
>
> Timeout for the first byte indeed, but more generally for each chunk
> of the response until the end of stream (should the response be sent
> in multiple/successive pieces of data).
> Actually this is an incomplete response inactivity timeout.
>

Yes it makes sense, what about the following description:

" ..the length of time to wait for any sign of activity from the CGI
script, like the first byte of the output or any block of bytes emitted by
the CGI script."

Any better? As far as I understand the same will be applied to
mod_proxy_fcgi too (if ProxyTimeout is not set).

Thanks!

Luca

Re: svn commit: r1780907 - /httpd/httpd/trunk/docs/manual/mod/core.xml

Posted by Yann Ylavic <yl...@gmail.com>.
Hi Luca,

On Mon, Jan 30, 2017 at 1:57 PM,  <el...@apache.org> wrote:
> Author: elukey
> Date: Mon Jan 30 12:57:00 2017
> New Revision: 1780907
>
> URL: http://svn.apache.org/viewvc?rev=1780907&view=rev
> Log:
> Add more info about the role of Timeout for mod_cgi
>
> PR 60404 asks if the Timeout directive is related to
> the amount of time to wait for the entire CGI script's
> output or only the first byte received.
> Checking in mod_cgi.c -> cgi_bucket_read shows a
> apr_pollset_poll that should support the latter.

Timeout for the first byte indeed, but more generally for each chunk
of the response until the end of stream (should the response be sent
in multiple/successive pieces of data).
Actually this is an incomplete response inactivity timeout.

Regards,
Yann.