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

RE: ldap libraries and network timeouts

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Dave Snoopy

> My ldap client tool failed to timeout when trying to
> connect to a hung LDAP server, even though I've set a
> network timeout of 5 seconds using all of these
> options:
> Searching through the LDAP code revealed that these
> properties are not used after they are set (at least
> not on the client side). Is this a correct analysis?

Not entirely. The OPT_NETWORK_TIMEOUT is used when establishing a connection.
I've never seen what the OPT_TIMEOUT was intended for, it does appear to be
totally unused.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support