ber_free( copy, 0 );
}
ldap_pvt_thread_mutex_unlock( &upstream->c_io_mutex );
+ Debug( LDAP_DEBUG_STATS, "request_bind: "
+ "connid=%lu bind request processing failed, closing\n",
+ client->c_connid );
return 1;
}
ber_free( copy, 0 );
}
ldap_pvt_thread_mutex_unlock( &upstream->c_io_mutex );
+ Debug( LDAP_DEBUG_STATS, "request_bind_as_vc: "
+ "connid=%lu bind request processing failed, closing\n",
+ client->c_connid );
operation_send_reject( op, result, msg, 1 );
return 1;
}
ber = c->c_currentber;
if ( ber == NULL && (ber = ber_alloc()) == NULL ) {
Debug( LDAP_DEBUG_ANY, "client_read_cb: "
- "ber_alloc failed\n" );
+ "connid=%lu, ber_alloc failed\n",
+ c->c_connid );
CLIENT_DESTROY(c);
return;
}
if ( (ber = ber_alloc()) == NULL ) {
Debug( LDAP_DEBUG_ANY, "client_read_cb: "
- "ber_alloc failed\n" );
+ "connid=%lu, ber_alloc failed\n",
+ c->c_connid );
CLIENT_DESTROY(c);
return NULL;
}
op = operation_init( c, ber );
if ( !op ) {
Debug( LDAP_DEBUG_ANY, "handle_one_request: "
- "operation_init failed\n" );
+ "connid=%lu, operation_init failed\n",
+ c->c_connid );
CLIENT_DESTROY(c);
ber_free( ber, 1 );
return -1;
ber = c->c_pendingber;
if ( ber == NULL && (ber = ber_alloc()) == NULL ) {
ldap_pvt_thread_mutex_unlock( &c->c_io_mutex );
+ Debug( LDAP_DEBUG_ANY, "operation_send_reject: "
+ "ber_alloc failed, closing connid=%lu\n",
+ c->c_connid );
CONNECTION_LOCK_DECREF(c);
operation_destroy_from_client( op );
CLIENT_DESTROY(c);