webtekie wrote: > I do checking for connection timeout, but > how can I actually "create" or mimic timeout on the server?
Implement a server that doesn't accept the connection. java.net.ServerSocket is not that tricky to use, especially if you're not accepting connections in the first place :-) There is a simple minimal HTTP server in the test classes for HttpClient, and another one in HttpComponents HttpCore. You could patch that code to not accept some connections, but serve other requests. hope that helps, Roland --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
