Anton Bobrov wrote:
Mark, is there any real reason why we switch back to blocking i/o [ restore flags ] at the very end of nsldapi_os_connect_with_to()? i gotta say RamaKrishna's test is a wee bit strange but it makes a valid point me thinks.
His point is valid. The reason nearly all I/O in libldap is done in blocking mode is mainly for historical reasons (that has always been the default, and that mode is therefore most widely used and tested mode). Most people do not need full non-blocking I/O; they just need an I/O timeout (which, as I said, can be obtained by using libprldap or by writing your own I/O functions which is really not difficult).
-Mark _______________________________________________ dev-tech-ldap mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-ldap
