https://bugs.openldap.org/show_bug.cgi?id=8871
--- Comment #6 from hsuenju_ko@stratus.com hsuenju_ko@stratus.com --- It seems cancel is not very useful if one cannot cancel itself and other thread can not cancel over same connection until the thread which performs the cancelled operation timeout either during the operation itself or during ldap_result, or doing the polling while waiting for ldap_result. Once you have timed out, there is no need to cancel, isn't it?