Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Persistent Connection in Tomcat 4.x

 
fei long
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have a question about how Tomcat supports persistenct connection (by default in HTTP/1.1). My understanding about persistency related configurations is:
1. Has ability to configure how many persistent connections a container supports. (sth like persistent connection pool size)
2. Can specify timout value for one persistent connection link. (how long does client/server maintain before terminates one persistent connection)

Does Tomcat offer any configuration parameters for persistent connection, like what I metioned above?

Someone says "connectionTimeout" in server.xml is for that purpose, but I think that is the timeout value for one request. (one persistent connection can processes multiple requests)

<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="8080" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="60000"/>

Any comments/thoughts are appreciated :thumb:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic