<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hi<div>I saw there's an issue talking about "<a href="https://trac.nginx.org/nginx/ticket/1170" target="_blank">implement keepalive timeout for upstream</a>".</div><div><br></div><div>I have a different scenario for this requirement.</div><div><br></div><div>I'm using Node.js web server as upstream, and set keep alive time out to 60 second in nodejs server. The problem is I found more than a hundred "Connection reset by peer" errors everyday. </div><div><br></div><div>Because there's no any errors on nodejs side, I guess it was because of the upstream has disconnected, and at the same time, nginx send a new request, then received a TCP RST. </div><div><br></div><div>I tried <a href="http://tengine.taobao.org/">Tengine</a> which is a taobao cloned version of nginx, and set upstream keep alive timeout to 30s, then there's no errors any more.</div><div><br></div><div>So I want to know is there any plan to work on this enhancement? or can I submit a patch for it?<br></div><div><br></div><div><br></div><div><img src="cid:ii_j9i3uipt1_15f7b78a1e3b98b6" style="margin-right: 0px;"></div><br>Best Regards<br>Wei Xu<br></div></div></div>