<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div>Hi,</div><div> I tried posting data to nginx running on the same host as that of the client(httperf) with keep alive_timeout set to a non-zero value and keep alive_requests set to a non-zero value. I observed that, the server was closing the connection only when the number of requests equalled the value set by the keepalive_requests in the configuration. </div><div><br></div><div>What could be the reason?</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> "Valentin V. Bartenev" <<a href="mailto:vbart@nginx.com">vbart@nginx.com</a>><br><span style="font-weight:bold">Organization: </span> Nginx, Inc.<br><span style="font-weight:bold">Reply-To: </span> "<a href="mailto:nginx@nginx.org">nginx@nginx.org</a>" <<a href="mailto:nginx@nginx.org">nginx@nginx.org</a>><br><span style="font-weight:bold">Date: </span> Thursday, November 20, 2014 at 1:56 PM<br><span style="font-weight:bold">To: </span> "<a href="mailto:nginx@nginx.org">nginx@nginx.org</a>" <<a href="mailto:nginx@nginx.org">nginx@nginx.org</a>><br><span style="font-weight:bold">Subject: </span> Re: Using both keepalive requests and timeout<br></div><div><br></div><div><div><div>On Thursday 20 November 2014 10:42:03 Das, Jagannath wrote:</div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div> Hi All,</div><div> I have a query, I tried setting keep alive_timeout to a non-zero value</div><div> and found it not working correctly.</div><div> Are there any related parameters for this?</div><div> </div></blockquote><div><br></div><div>What do you mean by not working correctly? What's the problem?</div><div><br></div><div> wbr, Valentin V. Bartenev</div><div><br></div><div>_______________________________________________</div><div>nginx mailing list</div><div><a href="mailto:nginx@nginx.org">nginx@nginx.org</a></div><div><a href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a></div><div><br></div></div></div></span></body></html>