httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Plüm, Rüdiger, VF-Group" <ruediger.pl...@vodafone.com>
Subject RE: svn commit: r1055250 - in /httpd/httpd/trunk: CHANGES modules/proxy/mod_proxy_http.c modules/proxy/proxy_util.c
Date Thu, 06 Jan 2011 07:44:48 GMT
 

> -----Original Message-----
> From: Gregg L. Smith 
> Sent: Donnerstag, 6. Januar 2011 02:56
> To: dev@httpd.apache.org
> Subject: Re: svn commit: r1055250 - in /httpd/httpd/trunk: 
> CHANGES modules/proxy/mod_proxy_http.c modules/proxy/proxy_util.c
> 
> Hello,
> 
> wrote:
> > Author: minfrin
> > Date: Wed Jan  5 00:23:43 2011
> > New Revision: 1055250
> 
> > Modified: httpd/httpd/trunk/modules/proxy/proxy_util.c
> > URL: 
> http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/p
> roxy_util.c?rev=1055250&r1=1055249&r2=1055250&view=diff
> > 
> ==============================================================
> ================
> > --- httpd/httpd/trunk/modules/proxy/proxy_util.c (original)
> > +++ httpd/httpd/trunk/modules/proxy/proxy_util.c Wed Jan  5 
> 00:23:43 2011
> > @@ -348,16 +348,20 @@ PROXY_DECLARE(const char *)
> >  
> >  PROXY_DECLARE(request_rec 
> *)ap_proxy_make_fake_req(conn_rec *c, request_rec *r)
> >  {
> > -    request_rec *rp = apr_pcalloc(r->pool, sizeof(*r));
> > +    apr_pool_t *pool;
> > +
> > +    apr_pool_create(&pool, c->pool);
> > +
> > +    request_rec *rp = apr_pcalloc(pool, sizeof(*r));
> >  
> 
> MSVC idiosyncrasy, you cannot declare rp after doing 
> something, in this 
> case "something" is calling apr_pool_create.

Fixed in r1055771.

Regards

Rüdiger


Mime
View raw message