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.

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.

-- 
Eugene N Dzhurinsky

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to