On Fri, 5 Jan 2001 [EMAIL PROTECTED] wrote:
>
> > > Some Linux's do not define TCP_CORK.
> >
> > 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).
- Sascha