]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
also copy r->invoke_mtx when creating a subrequest
authorEric Covener <covener@apache.org>
Sun, 28 Oct 2012 02:37:41 +0000 (02:37 +0000)
committerEric Covener <covener@apache.org>
Sun, 28 Oct 2012 02:37:41 +0000 (02:37 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1402924 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_request.c

index 21c6debd606554a1f4b8fd08d76e0aa7ef6f6c21..796d506e8418ad94fa0ea930411e6c0e5a288a4f 100644 (file)
@@ -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