backend->is_ssl = 0;
- /* XXX Setting close to 0 is a great way to end up with
- * timeouts at this point, since we lack good ways to manage the
- * back end fastcgi processes. This should be revisited when we
- * have a better story on that part of things. */
-
- backend->close = 1;
-
/* Step One: Determine Who To Connect To */
status = ap_proxy_determine_connection(p, r, conf, worker, backend,
uri, &url, proxyname, proxyport,
goto cleanup;
}
+ /* XXX Setting close to 0 is a great way to end up with
+ * timeouts at this point, since we lack good ways to manage the
+ * back end fastcgi processes. This should be revisited when we
+ * have a better story on that part of things. */
+ backend->close = 1;
+
/* Step Two: Make the Connection */
if (ap_proxy_connect_backend(FCGI_SCHEME, backend, worker, r->server)) {
ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server,
server_portstr);
cleanup:
- /* Do not close the socket */
ap_proxy_release_connection(FCGI_SCHEME, backend, r->server);
return status;
}