httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: cvs commit: apache-2.0/src/lib/apr/include apr_file_io.h
Date Fri, 14 Apr 2000 01:08:19 GMT
On Thu, 13 Apr 2000, dean gaudet wrote:
> On Thu, 13 Apr 2000, Greg Stein wrote:
> > On 14 Apr 2000 dgaudet@locus.apache.org wrote:
> > > dgaudet     00/04/13 17:46:52
> > > 
> > >   Modified:    src/lib/apr/file_io/unix readwrite.c
> > >                src/lib/apr/include apr_file_io.h
> > >   Log:
> > >   - ap_writev() should be available even if the os doesn't support writev.
> > >     (just use iov[0]).
> > 
> > Isn't the proper semantic to iterate over the iov elements, and write each
> > one?
> 
> the caller has to assume that partial writes can occur, so the caller
> already has a loop we can exploit.  this is the same logic i used for the
> iol_writev() suggestion for writev-deficient kernels.

Coolness :-)

thx for the explanation.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/


Mime
View raw message