You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Aleksey Studnev <st...@mobilae.ru> on 2001/04/26 08:06:31 UTC

FW: Why Tomcat brakes connection?


-----Original Message-----
From: Aleksey Studnev [mailto:studnev@mobilae.ru]
Sent: Wednesday, April 25, 2001 2:03 PM
To: tomcat-user@jakarta.apache.org
Subject: 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