httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Eckert <>
Subject Re: mod_proxy seg faulting ?
Date Tue, 07 May 2013 08:07:20 GMT
> However, looking at your patch, having to lock the mutex for
> ap_proxy_get_worker() looks wrong. I think it should be passed r->pool
> instead of conf->pool.

I checked how ap_proxy_get_worker() is used in other places and also what
is done with the pool inside and you are right. It really shouldn't be in a
pool. Corrected patch is attached.

> Hmm. I thought there was some introductory documentation, but I didn't
> find much. There is a short note at the end of
> . Basically, only
> the functions in
> that are explicitly marked as thread safe may safely operate on a pool
> from different threads without locking.

Which is basically saying "only the create-sub-pool functions" ;-)

View raw message