summaryrefslogtreecommitdiff
path: root/recipes/apache2/apache2-2.2.3/apr-sockets-patch
blob: 5e974820b39a40dd00fb9871d5d79b7aba04fed5 (plain)
1
2
3
4
5
6
7
8
9
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 */