apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sascha Schumann <sas...@schumann.cx>
Subject Re: cvs commit: apr configure.in
Date Fri, 05 Jan 2001 19:07:47 GMT
On Fri, 5 Jan 2001 rbb@covalent.net 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


Mime
View raw message