On Wed, 2006-11-08 at 16:05 +0200, Eugeny N Dzhurinsky wrote: > Hi there, I'm facing really weird problems with HTTPClient version 3.0.1 > My application uses 20 threads to download various URLs, for some reason > sometimes most of URLs are not accepted for more than 3 times(!), because I'm > getting this weird exception. >
Eugeny, What kind of exception are you getting specifically? Could you please post a complete exception stack trace? Oleg > Any ideas how to avoid this? > > connectionManager = new MultiThreadedHttpConnectionManager(); > HttpConnectionManagerParams params = connectionManager.getParams(); > params.setMaxTotalConnections(1000); > params.setDefaultMaxConnectionsPerHost(50); > params.setStaleCheckingEnabled(true); > params.setConnectionTimeout(60000); > params.setSoTimeout(60000); > params.setReceiveBufferSize(10 * 1024); > > and then I'm creating GetMethod, set soem headers to it and perform request to > server. All requests are GET requests. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
