tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfrederic.cl...@fujitsu-siemens.com>
Subject Re: cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c
Date Wed, 04 Aug 2004 13:19:50 GMT
Mladen Turk wrote:
>  
> 
> jfclere@apache.org commited:
> 
>>   
>>       new = apr_array_push(conf->aliases);
>>  -    new->fake = f;
>>  -    new->real = r;
>>  +    new->fake = apr_pstrdup(cmd->pool, f);
>>  +    new->real = apr_pstrdup(cmd->pool, r);
>>       
>>
> 
> 
> There is no need to do that.
> The f is eventually set to cmd->path that is already duped from cmd pool.
> They r is always obtained using ap_getword_conf.

Without the apr_pstrdup() it does not work on my machine...
I have seen that real gets corrupted. (fake does not but in my test it set to 
cmd-path).

> 
> MT.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message