httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: apr_hdtr_t without sendfile.
Date Sat, 07 Oct 2000 22:06:40 GMT
+1. My Q&D fix was designed to be as "safe" as possible and not
use anything inside the apr_hdtr_t struct that non-sendfile
platforms may have...

rbb@covalent.net wrote:
> 
> 
> 
> Okay,  I have had a chance to look at the build break with sendfile.  I
> dislike having apr_hdtr_t not defined on platforms without
> sendfile.  IMHO, apr_hdtr_t is a useful type, even without sendfile.  This
> would also make the fallback case very clean, because we would call:
> 
> 
> writev on the headers
> loop while data in file
>     read from file
>     write data
> end loop
> writev on the trailers.
> 
> This is reasonably clean IMO.
> 
> I'm going to code this now, and test it as best I can, but I would
> appreciate it if others would test it too, most notable those people who
> are on platforms without sendfile.
> 
> Ryan
> 
> P.S.:  I have more time now, and I plan to hack Apache more often again,
> you have all been warned.  :-)
> 
> 
> _______________________________________________________________________________
> Ryan Bloom                        	rbb@apache.org
> 406 29th St.
> San Francisco, CA 94131
> -------------------------------------------------------------------------------
> 


-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
                "Are you suggesting coconuts migrate??"

Mime
View raw message