[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Keep alive functionality when the remote closes the conenction due idle
- To: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>, masarati@aero.polimi.it
- Subject: Re: Keep alive functionality when the remote closes the conenction due idle
- From: alin vasile <alinachegalati@yahoo.com>
- Date: Wed, 8 Sep 2010 13:25:17 -0700 (PDT)
- Cc: openldap-technical@openldap.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1283977517; bh=J37/CrtvGalQswsEQAIHzylTcLWeJpJFsKEuWJXxyKU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=zBM/dMByNFhJAt+5IPiHhIq3fSwMEGImaTwDNmnbEUlh50f8tjwvaDbwWdMXTDGqFBL3oEaZrd9AL+QKpGlfny2nG2iQ11zb9TEduzH0BoQRQOvKqDEDFuG0Qn4c5gMUJZWGia4+vCWHuzz2pRpxw2L8dpbdJ30SJegVkuGjkAo=
- 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:Cc:In-Reply-To:MIME-Version:Content-Type; b=Ez6B6FuxGaWysJpncp84YyCkRquSv4sH5cgzzg04MJVeL01zKVQ0F3Sbeppr5W/RSsPYIlteBdVlR3DAZHjvt5vga5LVa9FF7WaemwBmPrZZNjPbl9Q83TWgGpMaaPGk/JdXaXBOvG2WANmKq2TlhNgZ0oA0VNESJR9oYVQXyPY=;
- In-reply-to: <28137ae025f77a748e6bde53df8879ed.squirrel@www.aero.polimi.it>
--- On Wed, 9/8/10, masarati@aero.polimi.it <masarati@aero.polimi.it> wrote:
As far as I know, the function registered by
ldap_set_rebind_proc(3) is
only invoked to bind when chasing a referral.
p.
This is what I found until now regarding this function. I'm tracing this in the openldap source code in request.c/ldap_send_server_request :
if ( lc == NULL || lc->lconn_status != LDAP_CONNST_CONNECTED ) {
if ( ld->ld_errno == LDAP_SUCCESS ) {
ld->ld_errno = LDAP_SERVER_DOWN;
}
ber_free( ber, 1 );
if ( incparent ) {
/* Forget about the bind */
--parentreq->lr_outrefcnt;
}
return( -1 );
}