<div dir="ltr">Richard,<div><br></div><div>On further investigation -- it looks like the client was closing the front-end connection. I need the back-end socket to remain open regardless of what the front-end is doing. Is there a way to accomplish this?</div><div><br></div><div>Thanks in advance,</div><div>Jonathan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 10, 2017 at 2:26 PM, Richard Stanway <span dir="ltr"><<a href="mailto:r1ch+nginx@teamliquid.net" target="_blank">r1ch+nginx@teamliquid.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The FIN ACK suggests that the other side is responsible for closing the connection. If nginx was terminating the connection, there would be no ACK bit set. Check your upstream server supports keepalive.</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Jan 10, 2017 at 10:55 PM, Jonathan Geyser <span dir="ltr"><<a href="mailto:jtgeyser@gmail.com" target="_blank">jtgeyser@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Hi guys,</div><div><br></div><div>I'm attempting to have multiple requests to a backend reuse the same TCP session as to avoid handshaking for each subsequent request. Nginx appears to send FIN ACK to the backend after every request.</div><div><br></div><div>Am I doing something wrong?</div><div><br></div><div>Here is the current configuration: <a href="https://paste.ngx.cc/6c24411681f24790" target="_blank">https://paste.ngx.cc/6c2441168<wbr>1f24790</a></div><div><br></div><div><br></div><div>Thanks in advance,</div><div>Jonathan</div></div>
<br></div></div>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailm<wbr>an/listinfo/nginx</a><br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a><br></blockquote></div><br></div>