https://bugs.openldap.org/show_bug.cgi?id=8958
--- 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?
Since you have +enum { NOT_PAUSED = 0, WANT_PAUSE = LDAP_PVT_THREAD_POOL_SPEED_MAX+1, PAUSED };
A speed of 0 would mean no pause at all, wouldn't it?