<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Feb 14, 2015 at 3:18 AM, silvioprog <span dir="ltr"><<a href="mailto:silvioprog@gmail.com" target="_blank">silvioprog@gmail.com</a>></span> wrote:</div><div class="gmail_quote">[...] <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"> I came up with a question: how can I configure the FastCGI to accept more than one request per connection? Is it possible in proxy mode?! ...</div></div></div></blockquote></div><div><br></div><div>I'm using Apache24 to debug the draft app, and today I've seen the following information on Apache documentation:</div><div><br></div><div>===</div><div><p style="line-height:1.3em;margin:0px 0px 1em;padding:0px;color:rgb(0,51,102);font-family:Arial,Helvetica,sans-serif;font-size:14px"><code class="" style="font-family:'Courier New',Courier,monospace;font-size:1em;color:rgb(139,69,19);background-color:inherit"><a href="http://httpd.apache.org/docs/trunk/mod/mod_proxy_fcgi.html" style="color:rgb(188,143,143);background-color:inherit">mod_proxy_fcgi</a></code> disables connection reuse by default, so after a request has been completed the connection will NOT be held open by that httpd child process and won't be reused. If the FastCGI application is able to handle concurrent connections from httpd, you can opt-in to connection reuse as shown in the following example:</p><div class="" style="color:rgb(0,0,0);padding:0.5em;margin:1em 2em 1em 1em;font-family:Arial,Helvetica,sans-serif;font-size:14px;background-color:rgb(229,236,243)"><h3 style="color:rgb(0,51,102);font-size:14px;margin:0px 0px 0.5em;padding:0px;background-color:inherit">Single application instance, connection reuse</h3><pre class="" style="font-family:'Courier New',Courier,monospace;margin-top:0px;margin-bottom:0px;padding:0px;border:none;font-size:13px"><span class="" style="color:rgb(17,34,136);font-weight:bold">ProxyPass</span><span class=""> </span><span class="" style="color:rgb(102,102,0)">/</span><span class="">myapp</span><span class="" style="color:rgb(102,102,0)">/</span><span class=""> fcgi</span><span class="" style="color:rgb(102,102,0)">://</span><span class="">localhost</span><span class="" style="color:rgb(102,102,0)">:</span><span class="" style="color:rgb(0,119,119)">4000</span><span class="" style="color:rgb(102,102,0)">/</span><span class=""> enablereuse</span><span class="" style="color:rgb(102,102,0)">=</span><span class="">on</span></pre></div></div><div>Source: <a href="http://httpd.apache.org/docs/trunk/mod/mod_proxy_fcgi.html">http://httpd.apache.org/docs/trunk/mod/mod_proxy_fcgi.html</a>.</div><div>===</div><div><br></div><div>I downloaded the httpd-2.4.12-win64-VC11.zip package, now I'm going to debug my app using this option ...<br></div><div><br></div>-- <br><div class="gmail_signature">Silvio Clécio<br>My public projects - <a href="http://github.com/silvioprog" target="_blank">github.com/silvioprog</a></div>
</div></div>