Hey Mark, many many thanks for your crystal clear clarification for setSoTimeout(int ). is same concept applies for setServerSoTimeout(int ) or it there for some other purpose.
thanks, -Vichi Mark Thomas wrote: > > vichi wrote: >> 1) can any one elaborate me the functionality of methods >> setServerSoTimeout(int ) and setSoTimeout(int ) of >> org.apache.coyote.http11.Http11BaseProtocol class. >> 2) if i set setSoTimeout(2000 ) then will socket be closed after 2000 >> milliseconds. > > It depends. Timeouts only apply when Tomcat is using the socket. If Tomcat > is > busy doing something else (eg processing a servlet to generate a response) > then > it won't be trying to read/write to the socket so the timeout won't apply. > > Mark > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://old.nabble.com/setServerSoTimeout%28int-%29-and-setSoTimeout%28int-%29-functionality-tp26322108p26323083.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org