https://issues.apache.org/bugzilla/show_bug.cgi?id=44890

           Summary: Apache built with kernel 2.6 does not work with 2.4 due
                    to TCP_NODELAY/TCP_CORK check
           Product: Apache httpd-2
           Version: 2.2.8
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


If I build apache 2.2.8 with kernel 2.6.x, configure says

 checking whether TCP_NODELAY and TCP_CORK can both be enabled... yes

but the binary will close HTTP-connections without even sending a header after
a HTTP-request when running on kernel 2.4.x. SSL-Connections or very small
files
do not seem to be affected.

If I build it with kernel 2.4.x, configure says

 checking whether TCP_NODELAY and TCP_CORK can both be enabled... no

and the binary works on both kernels.

I have changed "apr_cv_tcp_nodelay_with_cork=yes" to
"apr_cv_tcp_nodelay_with_cork=no" in srclib/apr/configure and now my binary
built with kernel 2.6.x also works with 2.4.x.

If you do not want to change this behavior please put at least a warning
somewhere. I have spent much time debugging this.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to