Brian Pane <[EMAIL PROTECTED]> writes:

> Jeff Trawick wrote:
> 
> >+    if (sock->netmask & APR_INCOMPLETE_WRITE) {
> >+        sock->netmask &= ~APR_INCOMPLETE_WRITE;
> >+        goto do_select;
> >+    }
> >+
> >     do {
> >         rv = sendfile(sock->socketdes,      /* socket */
> >                   file->filedes,    /* open file descriptor of the file to 
> > be sent */
> >
> 
> Without this patch, what was happening?  Did you get EAGAIN on the
> sendfile call?

yeah, a wasted (EAGAIN) sendfile call for every good sendfile call

-- 
Jeff Trawick | [EMAIL PROTECTED]
Born in Roswell... married an alien...

Reply via email to