You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Aleksey Studnev <st...@mobilae.ru> on 2001/04/25 12:03:24 UTC

Why Tomcat brakes connection?

	Tomcat 3.2 under Win Nt 4. 
	Client wants to re-use socket connection
	for multiple requests from server - it is
	actually a feature of HTTP 1.1. This saves
	time on creating socket object, making
	TCP connection.
	What Tomcat is doing unlike other web servers
	we have ( Apache, Weblogic) is resetting connection
	after every request. The sequense which is seen in
	the network is the following:

	Client -> Connect
	Client -> GET(socket NNN)
	Tomcat -> Response
	Client -> GET(socket NNN)
	Tomcat -> Reset connection <- !!!! Whats the hell?
	Client -> Connect
	Tomcat -> Bind	
	Client -> GET(socket MMM)
	Tomcat -> Response

	Who knows why it happens?

	Aleksey