httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <trawi...@bellsouth.net>
Subject Re: cvs commit: apache-2.0 STATUS
Date Wed, 16 Aug 2000 01:22:48 GMT
"Bill Stoddard" <stoddard@raleigh.ibm.com> writes:

> > At least on Unix, when an APR socket has a timeout the socket is placed
> > in non-blocking mode.  We'll call the kernel's write-type operation
> > passing the mmap-ed storage as the buffer.  Because the socket is
> > non-blocking, the kernel will return once it has consumed enough data
> > to fill its send buffer.  APR then waits until the socket is writeable
> > again.  It is this wait which corresponds to per-write.  In other
> > words, we still have a per-write timeout.
> >
> > So tell me where am I confused :)
> 
> Okay, that makes sense for mmap. Is the bahaviour of Unix sendfile on a non-blocking
> socket similar?

yessir

-- 
Jeff Trawick | trawick@ibm.net | PGP public key at web site:
     http://www.geocities.com/SiliconValley/Park/9289/
          Born in Roswell... married an alien...

--VAA11580.966389019/k5.localdomain--


Mime
View raw message