aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/apache2/apache2-2.2.3/apr-sockets-patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/apache2/apache2-2.2.3/apr-sockets-patch')
-rw-r--r--recipes/apache2/apache2-2.2.3/apr-sockets-patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes/apache2/apache2-2.2.3/apr-sockets-patch b/recipes/apache2/apache2-2.2.3/apr-sockets-patch
new file mode 100644
index 0000000000..5e974820b3
--- /dev/null
+++ b/recipes/apache2/apache2-2.2.3/apr-sockets-patch
@@ -0,0 +1,10 @@
+--- httpd-2.2.3/srclib/apr/network_io/unix/sockets.c.orig
++++ httpd-2.2.3/srclib/apr/network_io/unix/sockets.c
+@@ -231,6 +231,7 @@
+ #if APR_O_NONBLOCK_INHERITED
+ if (apr_is_option_set(sock, APR_SO_NONBLOCK) == 1) {
+ apr_set_option(*new, APR_SO_NONBLOCK, 1);
++ apr_socket_opt_set(*new, APR_SO_NONBLOCK, 0);
+ }
+ #endif /* APR_O_NONBLOCK_INHERITED */
+