From 7eb8fbe0bab685795ea60b831127131d73f4ddab Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Sun, 28 Oct 2012 02:37:41 +0000 Subject: 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 --- modules/http/http_request.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/http') 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 -- cgit v1.2.3