httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <cliffwool...@yahoo.com>
Subject Re: bucket siblings / thread safety
Date Thu, 03 May 2001 02:11:46 GMT
On Wed, 2 May 2001, Greg Stein wrote:

> We already have it. It's called apr_file_dup().
>
> Keep the apr_file_t open and in the cache. When you want to deliver it, do
> the following:
>
>   status = apr_file_dup(&new_file, cached_file, r->pool);
>   bucket = apr_bucket_file_create(new_file);
>   ...

Yep, that should do it.  +1.  Thanks!

--Cliff


--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA



Mime
View raw message