wballard/starphleet — pull request #159 by benjamin7062 (2014-12-11 16:46:17+00:00)
Title: Prevent NGINX From locking up due to LDAP

This tweak has been tested on Asia and Europe. I have not observed any adverse side affects. I have observed the event triggering several times and it has prevented NGINX from locking up thus far.

I do not know enough about the depths of what is happening inside NGINX to understand why the connection pool is losing a reference to the connection this code expects, but after 1000 iterations this is most certainly poked at all of them and beyond the point at which it will find whatever it's looking for.

I have submitted a bug with the author of the ldap_auth module for NGINX and suggest we upgrade to their fix if they ever respond. In the meantime, this seems to help alleviate the issue on our starphleet systems.