summaryrefslogtreecommitdiffstats
path: root/modules/http
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2012-10-28 03:37:41 +0100
committerEric Covener <covener@apache.org>2012-10-28 03:37:41 +0100
commit7eb8fbe0bab685795ea60b831127131d73f4ddab (patch)
tree16b60d22b6f838f2a2bee4eba221384abae16522 /modules/http
parentUpdate. (diff)
downloadapache2-7eb8fbe0bab685795ea60b831127131d73f4ddab.tar.xz
apache2-7eb8fbe0bab685795ea60b831127131d73f4ddab.zip
also copy r->invoke_mtx when creating a subrequest
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1402924 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/http')
-rw-r--r--modules/http/http_request.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/http/http_request.c b/modules/http/http_request.c
index 21c6debd60..796d506e84 100644
--- a/modules/http/http_request.c
+++ b/modules/http/http_request.c
@@ -536,6 +536,10 @@ static request_rec *internal_internal_redirect(const char *new_uri,
*/
new->used_path_info = AP_REQ_DEFAULT_PATH_INFO;
+#if APR_HAS_THREADS
+ new->invoke_mtx = r->invoke_mtx;
+#endif
+
/*
* XXX: hmm. This is because mod_setenvif and mod_unique_id really need
* to do their thing on internal redirects as well. Perhaps this is a