https://bugs.openldap.org/show_bug.cgi?id=8650
--- Comment #17 from Ryan Tandy ryan@openldap.org --- Created attachment 708 --> https://bugs.openldap.org/attachment.cgi?id=708&action=edit test program with non-blocking socket
Here's a test program that exercises the scenario with a non-blocking socket, similar to the case described in bug 9210. Currently it fails on 2.4 with LDAP_SERVER_DOWN and on 2.5 with LDAP_TIMEOUT, but succeeds if you comment out the fcntl(). Any patch needs to correct that as well as the scenario described here with a blocking socket.