Hi!

I'm a little confused over the different timeout settings.
I'm using httpclient with the MultiThreadedHttpconnectionManager.

there are three different timeout settings:

setConnectionTimeout (for connect - obviously)
setSoTimeout (is this for receive? or connect as well? how does it relate to the above method?)

and then setConnectionmanagerTimeout - what's this for? if the pool is full of connections alread? wait time for getting a connection from the pool?

Also, I've noticed that setting this.connectionManager.getParams().setConnectionTimeout( connectionTimeout );

will result in the requests NOT getting retried.
i've configured retries like this:

this.httpClient.getParams().setParameter( HttpMethodParams.RETRY_HANDLER, new DefaultHttpMethodRetryHandler( numRetries,

false ) ); //false or true - still won't retry if setConnectionTimeout is set

numRetries is > 1.

David


--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com

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

Reply via email to