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

Re: connection timeout



Brandon McCombs wrote:
Hello,

Using my client app I wrote I can receive a "Connection reset" error from the OpenLDAP server if I leave the app idle long enough however the idletimeout directive in slapd.conf is not specified so the default should be to never time out. Is a connection reset message the same thing as connection closed message? I'd assume so which begs the question, why did it do that if the timeout is disabled by the lack of the idletimeout directive in slapd.conf?


thanks .

Connection reset means the TCP layer forcibly closed the connection. Typically that happens because a router between the client and the server forced the connection to close, but sometimes it means the server crashed and rebooted while the connection was open. Anyway, if there is no idletimeout set on slapd, then slapd has nothing to do with it.

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