0

I am using tomcat 6. Say i send a request to web server which takes more than 20 seconds. Is there any default timeout in tomcat when it will stop processing that request if response is not sent back within n seconds ? If yes what's the property name in server/context.xml ?

I found connectionTimeout but it determines how long Tomcat will wait for the http request line once a connection is established. It doesn't tell how long the server waits for the request to finish processing

1 Answer 1

0

You can only accompiish this by setting client-side read timeouts. Tomcat doesn't have request processing timeouts, only connection and read timeouts.

Sign up to request clarification or add additional context in comments.

3 Comments

is n't tomcat read timeout is the property where it tells how long the server waits for the request to finish processing ?
I believe you are talking about so timeout which to me looks same which I asked for i.e the client socket waits for response after sending the request(as per stackoverflow.com/questions/18184899/…) But it seems to be applicable for onli NIO implementation not for standard implementation ?
any thoughts on my comments?

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.