From: Pierangelo Masarati Date: Thu, 2 Nov 2006 19:11:18 +0000 (+0000) Subject: cleanup prvious commit; log number of abandoned requests waiting for response... X-Git-Tag: OPENLDAP_REL_ENG_2_3_MP~17 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dc871de33d529622f90c75f3d2be570e1e315821;p=openldap cleanup prvious commit; log number of abandoned requests waiting for response... --- diff --git a/libraries/libldap/abandon.c b/libraries/libldap/abandon.c index ac9245a9bd..2f83ae6766 100644 --- a/libraries/libldap/abandon.c +++ b/libraries/libldap/abandon.c @@ -141,7 +141,7 @@ do_abandon( Sockbuf *sb; LDAPRequest *lr; - Debug( LDAP_DEBUG_TRACE, "ldap_pvt_discard origid %d, msgid %d\n", + Debug( LDAP_DEBUG_TRACE, "do_abandon origid %d, msgid %d\n", origid, msgid, 0 ); /* find the request that we are abandoning */ diff --git a/libraries/libldap/request.c b/libraries/libldap/request.c index 1357707c27..25cdee57b6 100644 --- a/libraries/libldap/request.c +++ b/libraries/libldap/request.c @@ -716,7 +716,8 @@ ldap_dump_requests_and_responses( LDAP *ld ) Debug( LDAP_DEBUG_TRACE, " outstanding referrals %d, parent count %d\n", lr->lr_outrefcnt, lr->lr_parentcnt, 0 ); } - Debug( LDAP_DEBUG_TRACE, " ld %p request count %d\n", (void *)ld, i, 0 ); + Debug( LDAP_DEBUG_TRACE, " ld %p request count %d (abandoned %d)\n", + (void *)ld, i, ld->ld_nabandoned ); Debug( LDAP_DEBUG_TRACE, "** ld %p Response Queue:\n", (void *)ld, 0, 0 ); if ( ( lm = ld->ld_responses ) == NULL ) { Debug( LDAP_DEBUG_TRACE, " Empty\n", 0, 0, 0 );