]> git.sur5r.net Git - openldap/commitdiff
ITS#6372 make wake_sds non-blocking
authorHoward Chu <hyc@openldap.org>
Wed, 11 Nov 2009 00:21:03 +0000 (00:21 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 11 Nov 2009 00:21:03 +0000 (00:21 +0000)
servers/slapd/daemon.c

index b3cc805ec24c4fe41f8c92e61515fe7a2a0544ad..8027f2a78847d7289e4fc57201d01d3f96520e48 100644 (file)
@@ -1620,6 +1620,7 @@ slapd_daemon_init( const char *urls )
                        "daemon: lutil_pair() failed rc=%d\n", rc, 0, 0 );
                return rc;
        }
+       ber_pvt_socket_set_nonblock( wake_sds[1], 1 );
 
        SLAP_SOCK_INIT;