> So unless I miss something we have two options:
> 
> 1) nuke that method completely
> 
> 2) either provide a new method that restores the data using a
> preallocated string from the server pool or do that internally in the
> server
> 
> 3) or change $r->document_root method to accept the pool object and
> leave the users the headache of figuring out what they want to do. This
> is because if they use $r->pool and expect it stick beyond that request
> it won't work. If however they pass $r->server->pool and they do that on
> each request they leak memory.
> 
> Comments?

take a look at the implementation in mp1 - why won't something like that
work, so long as we're in prefork?

--Geoff

Reply via email to