HTTPClient.HTTPConnection reused?

Hello,
 I am using "http://www.innovation.ch/java/HTTPClient/" HTTPClient to talk
to WebDAV enabled server. I am finding that the connection is somehow kept
alive., for the same server.


public static void main {

	// I PUT to a server using

	HTTPConnection m_HTTPConnection = new new
HTTPConnection("http://user:password@www.host.com/path/file.txt");

	// .......
	// Put files do operations
	//......

	// close the connection

	m_HTTPConnection.stop();

	// New Connection

	HTTPConnection m_HTTPConnection3 = new new
HTTPConnection("http://baduser:badpassword@www.host.com/path/file.txt");

	// .......
	// Put files do operations using m_HTTPConnection3
	//......

	}

I am successful. I understand that the connection is persistent, but here
each user needs a different Connection.
Looks like I am overlooking something
Thanks
Nithya

Received on Friday, 27 September 2002 05:20:28 UTC