]> git.sur5r.net Git - openldap/commitdiff
cleanup prvious commit; log number of abandoned requests waiting for response...
authorPierangelo Masarati <ando@openldap.org>
Thu, 2 Nov 2006 19:11:18 +0000 (19:11 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 2 Nov 2006 19:11:18 +0000 (19:11 +0000)
libraries/libldap/abandon.c
libraries/libldap/request.c

index ac9245a9bdc272b80dec2a731810730b1792b193..2f83ae6766e7aa70f0061a6bd8afd1e37030608d 100644 (file)
@@ -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 */
index 1357707c27085311df31f339fcf222371e2b9c39..25cdee57b66d7bad5ae07745c2b7538cf824d5a6 100644 (file)
@@ -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 );