[shibboleth-sp2] 84/100: Backported timeout "fix"
Ferenc Wágner
wferi-guest at moszumanska.debian.org
Tue Jan 26 21:29:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
wferi-guest pushed a commit to annotated tag 1.2.1
in repository shibboleth-sp2.
commit 0e95cb3672d1c705d0affd971ba89844462875ac
Author: Scott Cantor <cantor.2 at osu.edu>
Date: Tue Oct 26 21:59:49 2004 +0000
Backported timeout "fix"
---
apache/mod_apache.cpp | 1 +
apache/mod_shib_20.cpp | 1 +
2 files changed, 2 insertions(+)
diff --git a/apache/mod_apache.cpp b/apache/mod_apache.cpp
index 002d845..7e526a1 100644
--- a/apache/mod_apache.cpp
+++ b/apache/mod_apache.cpp
@@ -637,6 +637,7 @@ int shib_handler(request_rec* r, const IApplication* application, SHIRE& shire)
ap_hard_timeout("[mod_shib] CGI Parser", r);
memset(buff, 0, sizeof(buff));
while (ap_get_client_block(r, buff, sizeof(buff)-1) > 0) {
+ ap_reset_timeout(r);
cgistr += buff;
memset(buff, 0, sizeof(buff));
}
diff --git a/apache/mod_shib_20.cpp b/apache/mod_shib_20.cpp
index df5f68d..21d0bf9 100644
--- a/apache/mod_shib_20.cpp
+++ b/apache/mod_shib_20.cpp
@@ -33,6 +33,7 @@
#define ap_send_http_header(r)
#define ap_hard_timeout(str,r)
+#define ap_reset_timeout(r)
#define ap_kill_timeout(r)
#include "mod_apache.cpp"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git
More information about the Pkg-shibboleth-devel
mailing list