> > >     I guess you are referring to libc 5.x.x systems?  There are
> > >     still kernels around (2.0.x, early 2.2.x possibly) which
> > >     don't support TCP_CORK, so I think we should not simply
> > >     presume that TCP_CORK works.
> > >
> > >     Would anyone mind, if the *linux* portion of the case
> > >     statement would egrep linux/socket.h for TCP_CORK?
> >
> > Sounds good.  Or, we could just check to see if we are on linux and
> > sendfile is defined.  Is that a good enough check?
> 
>     Was TCP_CORK and sendfile introduced at the same time?  I
>     don't know.. anyway, I've committed the small egrep addition
>     which should properly exclude older kernels (tested on a 2.0
>     system).

I don't know either.  I would kind of hope so, plus in the old code, we
were searching for sendfile() and if that was defined, we assumed TCP_CORK
was defined or at least available.

Ryan

_______________________________________________________________________________
Ryan Bloom                              [EMAIL PROTECTED]
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------

Reply via email to