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

poll/epoll patch for libldap?


I work on a commercial server application, a gateway, which uses pam_ldap to authenticate users in some situations.  As a server application, it can easily exceed the 1024 default file descriptor limit of select(2), which has bitten us recently.  Since the server application ships in an appliance, we can provide a patch in the form of an OpenLDAP RPM that's been recompiled with -DOPENLDAP_FD_SETSIZE.  That fixes the immediate problem for us, but would you be willing to accept a patch to libldap that gave developers a programmatic way to use poll or epoll instead of having to recompile?