[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Keep alive functionality when the remote closes the conenction due idle
- To: openldap-technical@openldap.org
- Subject: Keep alive functionality when the remote closes the conenction due idle
- From: alin vasile <alinachegalati@yahoo.com>
- Date: Wed, 8 Sep 2010 12:23:53 -0700 (PDT)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1283973833; bh=eJJSrVAjrHLzUDECC3r66nlhJn+/q46yH0cFp5nPaO0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=MKgWkn4En0HuDu0OMCN5nen8SqOrwPb+sM6WVP9WYuQsBgHFhiqoEZJFTZmP/CupInB5glHmthB+fQmKK7gQLYTg3O2TaDrslzHLdIuKBaxtbpiMN4qw4KoCtX/DwiIhIH6OYPCwH5UFW6I+Ue2woLp7OYN+bSRg53Fg0ApQuiE=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=zDiD7Z/8ZWKROXli6yBxUUYmbPH/S6m3qLYynE8cgqECBy56tGumOQ3hiHxaokIS4gUN/C89tuf3CyW/VZWtvljhlWO/ivba7r9sSFiN0k78Dbeq7hJF7ipubZ/3lKxs/Ag/vpAgLBpKpUaYfRCaq9d5ZCp5rOJN6WAhk8WgHOE=;
Hi guys,
I have a question related to the open ldap client keep alive functionality. Our OS is SLES 11.
In our client code we are reusing the ldap connections between requests uning a connection pool. For each conenction we are setting the keep-alive options (LDAP_OPT_X_KEEPALIVE_IDLE, LDAP_OPT_X_KEEPALIVE_PROBES and LDAP_OPT_X_KEEPALIVE_INTERVAL) and this works fine.
My question is how the openl ldap library (libldap and libldap_r) handles the situation when the number of kee-alive probes for a connection is exceeded and the connection is closed at the server side.
Did you dealt with this situation?
Thanks,
Alin