apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davi Arnaut <d...@haxent.com.br>
Subject Re: Clarification: apr_brigade_split()
Date Wed, 25 Oct 2006 15:15:33 GMT
Graham Leggett wrote:
> On Wed, October 25, 2006 2:54 pm, Davi Arnaut wrote:
> 
>> Nice. Later you should post your solution so others having the same
>> problem may google it.
> 
> It's in r467655 :)
> 
> Next task is to figure out an efficient way to write a brigade to a file.
> 
> Are there any SENDFILE-like tricks to do this?

Unfortunately, no. ie: sendfile is only for moving data from a file to a
socket.  Maybe if someone implemented splice/tee, but this only matters
when the brigade buckets (or buffers) are not already in user space.

--
Davi Arnaut


Mime
View raw message