[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Connection timeout
On Thu, 19 Jul 2007, Dave Horsfall wrote:
> On Wed, 18 Jul 2007, Philip Guenther wrote:
>
> > The LDAP_OPT_NETWORK_TIMEOUT option sets a timeout on the connect()
> > call itself. Its value is a struct timeval, so:
>
> That's worth a try; thanks.
It worked; thanks! I've wound it back to 5 seconds, so the typical user
would see a delay of 15-20 seconds at fail-over time (we do a lot of
chained LDAP lookups at login time).
(Still waiting to be unmoderated, after a change of email domain).
--
Dave Horsfall DTM VK2KFU Ph: +61 2 9552-5509 (direct) +61 2 9552-5500 (switch)
Corinthian Eng'ng P/L, Ste 54 Jones Bay Whf, 26-32 Pirrama Rd, Pyrmont 2009, AU