<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">It depends on the backend, really, but you cannot assume it will support multiple sessions on the same connection. Maybe the backend needs the '1 connection = 1 request' relationship?<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">A backend supporting multiplexing won't have trouble with 1 request/connection, however, backend not supporting it wil have trouble dealing with several requests/connection.<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">Conclusion: the most compatible way is not to multiplex.<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">You know, even popular FastCGI backends may not support that correctly. Did you know for instance that PHP-FPM had bugs related to that?<br><a href="https://bugs.php.net/bug.php?id=67583" target="_blank">https://bugs.php.net/bug.php?id=67583</a><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">I ran into it by simply installing the most recent release from MediaWiki somewhere... trouble stopped when multiplexing got deactivated...<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">IMHO default configuration should be the safest. It is then up to you to tweak your system according to your needs.<br></div><div class="gmail_extra"><div><div><font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font></div></div>
<br><div class="gmail_quote">On Sat, Jan 31, 2015 at 4:26 PM, Olaf van der Spek <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us" target="_blank">nginx-forum@nginx.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Why does fastcgi_keep_conn default to off?<br>
On seems to be the faster option.<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,256371,256371#msg-256371" target="_blank">http://forum.nginx.org/read.php?2,256371,256371#msg-256371</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br></div></div>