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

Re: Connection timeout

On Thu, 19 Jul 2007, Dave Horsfall wrote:

But the connection has yet to be made, so keepalives don't enter into it.

Ah, I read "connection timeout" in the wrong sense here. As Philip's answer discussed, LDAP_OPT_NETWORK_TIMEOUT should result in

ldap_connect_timeout: fd: 3 tm: -1 async: 0

the "tm" value being lowered, resulting in

1184800925.257826 CALL select(0x400,0,0xbfbfd850,0,0)

delaying for less, and you should note that last select() argument changing to a timeval that matches your parameter. Give it a try...