https://bugs.openldap.org/show_bug.cgi?id=8958
--- Comment #29 from Hallvard Furuseth h.b.furuseth@usit.uio.no --- On 03.08.2021 14:25, openldap-its@openldap.org wrote:
--- Comment #24 from Howard Chu hyc@openldap.org --- (In reply to Quanah Gibson-Mount from comment #23)
Created attachment 799 [details] proposed fix
In patch #5
- ldap_pvt_thread_pool_setspeed( &connection_pool, ctx, 0 );
Shouldn't the minimum speed be 1, not 0?
That's just the API. 0 = "slowest". I didn't want to export details of the tpool implementation, which might get replaced. Could use 0.0 so it looks different, if floating point numbers are OK in libldap.
Since you have +enum { NOT_PAUSED = 0, WANT_PAUSE = LDAP_PVT_THREAD_POOL_SPEED_MAX+1, PAUSED };