Allow processes to be reused within multiple phases of a request
by releasing them into the free list as soon as possible after reading
their response headers.  This applies to processes being used in
the FCGI_AUTHORIZER role, as well as those returning error codes or
redirections.

Thus a single process may act as both an authorizer and a responder for
a single request.  It may also handle ErrorDocument redirections,
e.g., if it responds with a 401 status code while authorizing, the same
process may then handle that error and respond with a custom login page.


git-svn-id: https://svn.apache.org/repos/asf/httpd/mod_fcgid/trunk@909672 13f79535-47bb-0310-9956-ffa450edef68
3 files changed