httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r1302483 - /httpd/httpd/trunk/modules/proxy/mod_proxy.c
Date Mon, 19 Mar 2012 14:51:47 GMT
Author: rpluem
Date: Mon Mar 19 14:51:47 2012
New Revision: 1302483

URL: http://svn.apache.org/viewvc?rev=1302483&view=rev
Log:
* Readd the reverse assignment to avoid segfaults in ap_proxy_initialize_worker

PR: 52935
Obtained from: Petter Berntsen <petterb gmail.com>


Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy.c?rev=1302483&r1=1302482&r2=1302483&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy.c Mon Mar 19 14:51:47 2012
@@ -2461,6 +2461,7 @@ static void child_init(apr_pool_t *p, se
                 ap_proxy_hashfunc(reverse->s->name, PROXY_HASHFUNC_FNV);
             /* Do not disable worker in case of errors */
             reverse->s->status |= PROXY_WORKER_IGNORE_ERRORS;
+            conf->reverse = reverse;
             ap_proxy_initialize_worker(conf->reverse, s, conf->pool);
             /* Disable address cache for generic reverse worker */
             reverse->s->is_address_reusable = 0;



Mime
View raw message