(REOPEN ITS#4315) Bind operations cause premature abandons

> This is primarily an issue because of back-ldap and its shared
> connections.
>
> test039 will periodically hang because an operation will get abandoned
> before a
> bind request gets dequeued. See the discussion on openldap-committers.
There are two types of issues, either in or not addressed by the fix:
1) dobind should be treated as a bind
2) resources must be released correctly when handling unavailable targets
I'm testing a fix for both issues.
p.
Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team
SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office: +39.02.23998309
Mobile: +39.333.4963172
Email: pierangelo.masarati@sys-net.it
------------------------------------------