apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48247] Apache HTTP server could not respond HEAD message under PPC platform when using apr1.3.5
Date Wed, 06 Jan 2010 07:29:40 GMT

tony dong <dongliqian@gmail.com> changed:

           What    |Removed                     |Added
           Priority|P5                          |P2
           Platform|All                         |PC
            Version|1.3.5                       |HEAD
           Severity|critical                    |normal

--- Comment #1 from tony dong <dongliqian@gmail.com> 2010-01-05 23:29:37 UTC ---
Problem description:
The issue occurred when I used Apache HTTP server 2.2.11 and apr1.3.5 under PPC
platform. The Apache HTTP server couldn't respond the HEAD message under
following environment:
1. Apache HTTP server is configured with multiple ports.
2. When compiling APR, with APR_O_NONBLOCK_INHERITED enabled.
3. Apache HTTP server is running on PPC platform.

Root Cause:
After investigation, I found that there is a small bug when accepting a new
In function apr_socket_accept of file apr-1.3.5/network_io/sockets.c, if the
new socket finds its father socket is in non-blocking mode, it calls
apr_set_option to change the non-blocking mode. However, the function
apr_set_option only changes the value in struct apr_socket_t, and the real
non-blocking mode of the socket has not been modified. So I think we'd better
call function apr_socket_opt_set to set the real non-blocking mode of the new

Please see attached for the patched file.


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: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org

View raw message