From: Eric Covener Date: Sun, 28 Oct 2012 02:37:41 +0000 (+0000) Subject: also copy r->invoke_mtx when creating a subrequest X-Git-Tag: 2.5.0-alpha~6177 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7eb8fbe0bab685795ea60b831127131d73f4ddab;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/http/http_request.c b/modules/http/http_request.c index 21c6debd606..796d506e841 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