move ac_cv_o_nonblock_inherited to site/common-linux
cover move ac_cv_o_nonblock_inherited to site/common-linux
From: "Roy.Li" <[email protected]>
The following changes since commit 99f003356be43bb361634359a5d3c520f72f0a08:
local.conf.sample: Enable disk space monitoring by default (2012-11-28 15:25:14 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib roy/common-linux
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=roy/common-linux
Roy.Li (1):
site/common-linux: move ac_cv_o_nonblock_inherited to
site/common-linux
meta/site/common-linux | 3 +++ meta/site/powerpc32-linux | 1 - 2 files changed, 3 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.5.4
PATCH 1/1 site/common-linux: move ac_cv_o_nonblock_inherited to site/common-linux
From: "Roy.Li" <[email protected]>
When compiling apr for no-powerpc arch, the flag ac_cv_o_nonblock_inherited is always set to yes in cross compiling environment. This flag is intended to think the socket, returned from accept(), inherit file status flags such as O_NONBLOCK from the listening socket, but socket never inherits file status from the listening socket on Linux (more information to man accept).
This is Linux-wide behaviour, so move it from meta/site/powerpc32-linux to site/common-linux.
If ac_cv_o_nonblock_inherited is set to yes on Linux, clients can not access the same ip address(URL) with Apache web server via http(port 80) and https(port443) without redirection
--- meta/site/common-linux | 3 +++ meta/site/powerpc32-linux | 1 - 2 files changed, 3 insertions(+), 1 deletions(-)
meta/site/common-linux +3 -0
@@ -47,3 +47,6 @@ tcl_cv_api_serial=${tcl_cv_api_serial=termios} # python ac_cv_have_long_long_format=yes + +# apache +ac_cv_o_nonblock_inherited=${ac_cv_o_nonblock_inherited=no}
meta/site/powerpc32-linux +0 -1
@@ -212,7 +212,6 @@ ac_cv_socklen_t=${ac_cv_socklen_t=yes} ac_cv_struct_rlimit=${ac_cv_struct_rlimit=yes} ac_cv_negative_eai=${ac_cv_negative_eai=yes} apr_cv_gai_addrconfig=${apr_cv_gai_addrconfig=no} -ac_cv_o_nonblock_inherited=${ac_cv_o_nonblock_inherited=no} apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes} # binutils (libiberty)
Signature · 1 line
1.7.5.4