[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Asynchronicity



Hi,

Is there any workaround way by which we will be able to do a DIGEST-MD5 - SASL LDAP bind asynchronously?

Howard: Is there a plan to have an asynchronous ldap_sasl_interactive_bind in the near future? Any time lines for that?

Thanks,
Shankar


On Mon, Oct 11, 2010 at 3:06 PM, Howard Chu <hyc@symas.com> wrote:
William Ahern wrote:
Excepting DNS, is the latest release of OpenLDAP fully asynchronous-capable,
even with TLS? Perusing the source code I can't find any obvious places
other than DNS where things might block, but it's harder to prove the
negative.

I remember many years ago this wasn't the case, and I had to thread the
connect phase, but the ChangeLog suggests that things have changed
considerably.

Connect has been asynch for years, though an option to configure the connect timeout is a more recent addition.

The only significant thing left that I can think of that's still only synchronous is ldap_sasl_interactive_bind_s(), and I have some plans to fix that.
--
 -- Howard Chu
 CTO, Symas Corp.           http://www.symas.com
 Director, Highland Sun     http://highlandsun.com/hyc/
 Chief Architect, OpenLDAP  http://www.openldap.org/project/