Keep-Alive header not sent from Tomcat 5.5 http connector?

Posted by Codek on Server Fault See other posts from Server Fault or by Codek
Published on 2010-06-08T10:20:41Z Indexed on 2010/06/08 10:23 UTC
Read the original article Hit count: 455

Filed under:
|
|

Hi,

We're currently using a hardware load balancer, which then goes to Apache and that then goes to Tomcat 5.5 via the AJP connector.

We've decided to dump apache for various reasons - In our current system it doesnt provide any advantage.

However when I look at the headers sent when we do this, the "Keep-Alive: timeout=15 max=96" header doesnt get sent when you use the tomcat http connector

Interestingly, i can find no documentiation on "keepalivetimeout" for tomcat5.5, but i can for tomcat6. But neither can i find evidence that tomcat5.5 doesnt support this setting.

here's my connector:

<Connector port="8090" maxHttpHeaderSize="8192"
               maxThreads="400" minSpareThreads="150" maxSpareThreads="300"
               enableLookups="false"
               connectionTimeout="2" maxKeepAliveRequests="400" disableUploadTimeout="true" />

So; Is there any way I can specify the keepalive timeout if we use the http connector with tomcat 5.5, and force this header entry to be sent?

Thanks, Dan

© Server Fault or respective owner

Related posts about tomcat

Related posts about keepalive