summaryrefslogtreecommitdiff
path: root/packages/apache2/apache2-2.2.3/apr-sockets-patch
diff options
context:
space:
mode:
authorAndrew Wilcox <andy@protium.com>2006-12-07 19:36:49 +0000
committerAndrew Wilcox <andy@protium.com>2006-12-07 19:36:49 +0000
commitaa5a787f25f567632f53decbaee305315e6d1c58 (patch)
tree7a92c63bd7c99d5c8957487aead9465ec0275da0 /packages/apache2/apache2-2.2.3/apr-sockets-patch
parent21f0d4357067e495f29a752e529ee6f55a14f3d2 (diff)
apache2: native and cross compile patches and BB files
Diffstat (limited to 'packages/apache2/apache2-2.2.3/apr-sockets-patch')
-rw-r--r--packages/apache2/apache2-2.2.3/apr-sockets-patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/apache2/apache2-2.2.3/apr-sockets-patch b/packages/apache2/apache2-2.2.3/apr-sockets-patch
new file mode 100644
index 0000000000..5e974820b3
--- /dev/null
+++ b/packages/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 */
+