]> granicus.if.org Git - apache/commitdiff
mod_proxy_fcgi: forcing proxy_conn->close here is useless, same is done
authorYann Ylavic <ylavic@apache.org>
Fri, 12 Aug 2016 14:04:51 +0000 (14:04 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 12 Aug 2016 14:04:51 +0000 (14:04 +0000)
either above in ap_proxy_determine_connection(), or below in
ap_proxy_release_connection().

[Reverted by r1757097]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756187 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_fcgi.c

index 90b1c7d895c24422b9ec970913afbedf6bef4167..10109813a51467b0e0e747ca0bc9ffd00145dd8c 100644 (file)
@@ -938,16 +938,6 @@ static int proxy_fcgi_handler(request_rec *r, proxy_worker *worker,
         goto cleanup;
     }
 
-    /* This scheme handler does not reuse connections by default, to
-     * avoid tying up a fastcgi that isn't expecting to work on 
-     * parallel requests.  But if the user went out of their way to
-     * type the default value of disablereuse=off, we'll allow it.
-     */  
-    backend->close = 1;
-    if (worker->s->disablereuse_set && !worker->s->disablereuse) { 
-        backend->close = 0;
-    }
-
     /* Step Two: Make the Connection */
     if (ap_proxy_check_connection(FCGI_SCHEME, backend, r->server, 0,
                                   PROXY_CHECK_CONN_EMPTY)