Fabio, HttpConnection.ConnectionTimeoutException should have been replaced with ConnectTimeoutException. It's my oversight, for which I'll provide a fix. IOTimeoutException usually is a wrapper for java.io.InterruptedIOException. I guess the name does not adequately reflect the nature of this exception.
All read I/O exceptions that occur while a connection is open are (should be re) rethrown as HttpRecoverableException. Please let me know under what circumstances you are getting java.net.SocketTimeoutException. Wire log would be appreciated. I am planning to do some cleaning up on the HttpConnection class. Expect a patch by Monday. Oleg On Thu, 2003-10-30 at 14:09, [EMAIL PROTECTED] wrote: > Hi, > I'm using the nightly builds version of HttpClient and I have noticed that, when > a timeout occurs, neither ConnectTimeoutException nor IOTimeoutException are > ever thrown. > Instead, HttpConnection.ConnectionTimeoutException and > java.net.SocketTimeoutException are thrown in their place. > Is this the expected behaviour? > If yes, when is HttpRecoverableException thrown? > > thanks, > Fabio > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]