Detecting client-side socket/connection close from Tomcat server

2005-08-22 Thread gh9
Hi all, I have a scenario in which multiple time-critical clients call a Tomcat servlet. The read timeout on a client->server connection is set to 100ms, so if the servlet has not responded within that time, the connection is closed and the client continues with other work. I want to count the

Re: Connection: close

2004-12-27 Thread Diego Rodriguez
Thanks for your response, I will try this solution (I find it very useful for this and another doubts of tomcat handling requests/responses), but, any tomcat programmer knows if tomcat closes (or should close according to specs) the connection when a servlet sets header "Connection:

Re: Connection: close

2004-12-27 Thread DJohnson
Connection: close Hi everybody! I'm using tomcat 4.1.27 to serve contents through a servlet. In my app it's very important to close connections everytime, so I use header "Connection: close" in the response everytime the content is served. My question is: this header makes

Connection: close

2004-12-27 Thread Diego Rodriguez
Hi everybody! I'm using tomcat 4.1.27 to serve contents through a servlet. In my app it's very important to close connections everytime, so I use header "Connection: close" in the response everytime the content is served. My question is: this header makes Tomcat to clo

Tomcat sending connection close message

2004-05-19 Thread sandeep arshanapally
Hi, I am using Tomcat 4.1.24 with Axis 1.1 final and I am using persistent connections. Once in a while I see that a http message which doesn't have content-length and is not chunk-encoded. Also this message has connection header as close. I have attached the headers of the http message. con