[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#7476) patch for ldap_pvt_connect



Full_Name: David Bender
Version: 2.4.32
OS: Linux
URL: 
Submission from: (NULL) (96.236.148.85)


ldap_pvt_connect() in libldap/os-ip.c fails intermittently when the calling
program also runs child processes. The connect() call fails with EINTR, but no
effort is made to retry the connect(). The following patches add support for
retrying in this case, as well as toggling the behaviour with LDAP_OPT_RESTART.


Patches are available and should be applied in this order (applied to current
HEAD):

https://github.com/benegon/openldap/commit/8e4fee39bfccaa3dd15179fb6451d39770479ce5.patch
https://github.com/benegon/openldap/commit/991941e3b51fea44d5f123f24a0f32062b2358a8.patch