Hi Sebastian, > If HttpClient (or my app) is failing to close sockets at the end, > perhaps it needs to be enhanced - otherwise it will be causing the > server to go into TIME_WAIT instead?
I'm not sure whether the server needs to go into TIME_WAIT if it gets a reset packet. But it can't hurt to call SimpleHttpConnectionManager.shutdown() when exiting the application. Looks like we forgot to add that method to the interface, but it's too late for 3.1 now. I wouldn't want to mess with shutdown hooks [1] by default, but I will remember the problem when we start working on an HttpClient 4.0 Tutorial. cheers, Roland [1] http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Runtime.html#addShutdownHook(java.lang.Thread) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]