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: close"

   Thanks

   Diego

----- Original Message ----- From: <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[email protected]>
Sent: Monday, December 27, 2004 3:37 PM
Subject: Re: Connection: close



Use a network packet trace tool like ethereal (http://www.ethereal.com/), which is open-source and available for multiple platforms. This will let you see if the connection is closed, and who initiates the close.


Please respond to "Tomcat Users List" <[email protected]> To: <[email protected]> cc: Subject: 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 Tomcat to close the connection by itself,
or it relies on client to close it?

I tried to make tomcat to log its operations, but the only log I've found
it's from sax parser but nothing about the way it handles the
request/response process. Is there any way to see this kind of log?



Diego Rodr�guez Mart�n
ALTIRIA TIC - Soluciones en Servicios M�viles - Marketing SMS
www.altiria.com
Tel/Fax 91 33 111 98
Movil 610 299 750
[EMAIL PROTECTED]






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to