[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openldap-technical
Subject:    Re: timeout and network-timeout values of zero for syncrepl in LAN replication
From:       Howard Chu <hyc () symas ! com>
Date:       2024-04-18 2:30:46
Message-ID: dc4f4c91-feac-5806-78a0-724e1227afcb () symas ! com
[Download RAW message or body]

Christopher Paul wrote:
> On 4/17/2024 11:24 PM, Howard Chu wrote:
> > timeout has nothing to do with the duration of an operation.
> 
> I'm confused then. Manual page ldap.conf(5) states:
> 
> TIMEOUT <integer>
> Specifies a timeout (in seconds) after which calls to synchronous LDAP APIs will \
> abort if no response is received.   Also used for any ldap_result(3) calls where a \
> NULL timeout parameter is supplied. 
> The duration of an operation is the call to the LDAP API plus the time it takes for \
> the response/result, no? What am I missing here?

The manpage language is precise. Your paraphrase is not.

An LDAP operation may have more than one response. Search operations often do, \
extended ops may as well. The timeout is waiting for any response, not just the \
operation result.

-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic