* [PATCH 0/1] move ac_cv_o_nonblock_inherited to site/common-linux
@ 2012-11-29 9:19 rongqing.li
2012-11-29 9:19 ` [PATCH 1/1] site/common-linux: " rongqing.li
0 siblings, 1 reply; 2+ messages in thread
From: rongqing.li @ 2012-11-29 9:19 UTC (permalink / raw)
To: openembedded-core
From: "Roy.Li" <rongqing.li@windriver.com>
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(-)
--
1.7.5.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] site/common-linux: move ac_cv_o_nonblock_inherited to site/common-linux
2012-11-29 9:19 [PATCH 0/1] move ac_cv_o_nonblock_inherited to site/common-linux rongqing.li
@ 2012-11-29 9:19 ` rongqing.li
0 siblings, 0 replies; 2+ messages in thread
From: rongqing.li @ 2012-11-29 9:19 UTC (permalink / raw)
To: openembedded-core
From: "Roy.Li" <rongqing.li@windriver.com>
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
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
---
meta/site/common-linux | 3 +++
meta/site/powerpc32-linux | 1 -
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/meta/site/common-linux b/meta/site/common-linux
index 8a9146e..8b5be68 100644
--- a/meta/site/common-linux
+++ b/meta/site/common-linux
@@ -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}
diff --git a/meta/site/powerpc32-linux b/meta/site/powerpc32-linux
index 4550df3..251bffe 100644
--- a/meta/site/powerpc32-linux
+++ b/meta/site/powerpc32-linux
@@ -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)
--
1.7.5.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-29 9:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-29 9:19 [PATCH 0/1] move ac_cv_o_nonblock_inherited to site/common-linux rongqing.li
2012-11-29 9:19 ` [PATCH 1/1] site/common-linux: " rongqing.li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox