projects
/
apache
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fb6e09
)
Allow modules to pro-actively bypass the reqtimeout filter (by connection)
author
Jim Jagielski
<jim@apache.org>
Tue, 19 Mar 2013 13:56:29 +0000
(13:56 +0000)
committer
Jim Jagielski
<jim@apache.org>
Tue, 19 Mar 2013 13:56:29 +0000
(13:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1458284
13f79535
-47bb-0310-9956-
ffa450edef68
modules/filters/mod_reqtimeout.c
patch
|
blob
|
history
diff --git
a/modules/filters/mod_reqtimeout.c
b/modules/filters/mod_reqtimeout.c
index 3250efcadece1a6d141745f0ae84b653ace6e7b9..54e1984c096d968dcac9920ca40c137bf97c6da3 100644
(file)
--- a/
modules/filters/mod_reqtimeout.c
+++ b/
modules/filters/mod_reqtimeout.c
@@
-177,6
+177,11
@@
static apr_status_t reqtimeout_filter(ap_filter_t *f,
apr_interval_time_t saved_sock_timeout = UNSET;
reqtimeout_con_cfg *ccfg = f->ctx;
+ /* connections can bypass the filter even if configured */
+ if (apr_table_get(f->c->notes, "bypass-reqtimeout")) {
+ return APR_SUCCESS;
+ }
+
if (ccfg->in_keep_alive) {
/* For this read, the normal keep-alive timeout must be used */
ccfg->in_keep_alive = 0;