benoitc/gunicorn — pull request #348 by prior (2012-05-16 19:56:13+00:00)
Title: A subprocess of a gunicorn gevent worker cannot use the network

if a worker has a subprocess that attempts to make networks calls, and
that worker is a gevent worker class, then gunicorn gets tricked into
thinking a process switch has happened when in fact it hasn't.

this fixes that by forcing a check of the grandparent pid as well as
the parent pid to avoid getting tricked in this way