Roland Weber wrote:
setConnectionTimeout (for connect - obviously)
setSoTimeout (is this for receive? or connect as well? how does it
relate to the above method?)
That's basic socket stuff. Connection timeout for opening the
connection, SO timeout for reading from the connection:
http://java.sun.com/j2se/1.4.2/docs/api/java/net/Socket.html#connect(java.net.SocketAddress,%20int)
http://java.sun.com/j2se/1.4.2/docs/api/java/net/Socket.html#setSoTimeout(int)
and then setConnectionmanagerTimeout - what's this for? if the pool is
full of connections alread? wait time for getting a connection from the
pool?
The latter. Calls will block if the pool is empty, not if it's full :-)
What happens if max connections is reached and a new one is attempted -
will it block - or be interrupted by throwing an exception?
Also, I've noticed that setting
this.connectionManager.getParams().setConnectionTimeout(
connectionTimeout );
will result in the requests NOT getting retried.
Could you please open a JIRA issue for this?
http://jakarta.apache.org/commons/httpclient/issue-tracking.html
done, https://issues.apache.org/jira/browse/HTTPCLIENT-621
--
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]