cleanup prvious commit; log number of abandoned requests waiting for response...

This commit is contained in:
Pierangelo Masarati 2006-11-02 19:11:18 +00:00
parent 730d8e5bd3
commit dc871de33d
2 changed files with 3 additions and 2 deletions

View 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 */

View 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 );