ASF Bugzilla – Attachment 30833 Details for
Bug 54973
mod_proxy_fcgi does not honnor Timeout / ProxyTimeout
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch v3
httpd-trunk-mod_proxy_fcgi-timeout.patch (text/plain), 854 bytes, created by
jkaluza
on 2013-09-13 12:12:02 UTC
(
hide
)
Description:
proposed patch v3
Filename:
MIME Type:
Creator:
jkaluza
Created:
2013-09-13 12:12:02 UTC
Size:
854 bytes
patch
obsolete
>diff --git a/modules/proxy/mod_proxy_fcgi.c b/modules/proxy/mod_proxy_fcgi.c >index 875153f..4e9a325 100644 >--- a/modules/proxy/mod_proxy_fcgi.c >+++ b/modules/proxy/mod_proxy_fcgi.c >@@ -569,15 +569,13 @@ static apr_status_t dispatch(proxy_conn_rec *conn, proxy_dir_conf *conf, > ob = apr_brigade_create(r->pool, c->bucket_alloc); > > while (! done) { >- apr_interval_time_t timeout = conn->worker->s->timeout; >+ apr_interval_time_t timeout; > apr_size_t len; > int n; > > /* We need SOME kind of timeout here, or virtually anything will > * cause timeout errors. */ >- if (! conn->worker->s->timeout_set) { >- timeout = apr_time_from_sec(30); >- } >+ apr_socket_timeout_get(conn->sock, &timeout); > > rv = apr_poll(&pfd, 1, &n, timeout); > if (rv != APR_SUCCESS) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 54973
:
30828
|
30829
| 30833