]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Stop holding open connections to the backend fastcgi processes. At
authorGarrett Rooney <rooneg@apache.org>
Sun, 5 Mar 2006 04:33:44 +0000 (04:33 +0000)
committerGarrett Rooney <rooneg@apache.org>
Sun, 5 Mar 2006 04:33:44 +0000 (04:33 +0000)
commitd215e258b8a29d1b40d6bb5be8a22d53623b064c
treece8043bea2aaf9c60f891ebb79cafd38efaa169a
parentec72c5778d9f7dc2dc47eea9e0470d3d5a61d524
Stop holding open connections to the backend fastcgi processes.  At
this point we lack a good way to manage them, and thus it's really
easy to end up with situations where you get weird timeouts because
other worker process are holding all the connections open.

This allows Rails applications to reliably work with mod_proxy_fcgi.

* modules/proxy/mod_proxy_fcgi.c
  (dispatch): Add a timeout for our poll.  This should be controlled
   by a config option of some sort, but for now just hardcode it.
  (proxy_fcgi_handler): Set close_on_recycle to 1, so we don't hold
   open connections to the fastcgi processes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@383278 13f79535-47bb-0310-9956-ffa450edef68
modules/proxy/mod_proxy_fcgi.c