mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-05 18:58:02 -05:00
DAV: set SO timeout on connection
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2153 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
d8aceb0edb
commit
51fa7e3b96
@ -791,6 +791,7 @@ public final class DavGatewayHttpClientFacade {
|
||||
MultiThreadedHttpConnectionManager connectionManager = new MultiThreadedHttpConnectionManager();
|
||||
connectionManager.getParams().setDefaultMaxConnectionsPerHost(100);
|
||||
connectionManager.getParams().setConnectionTimeout(10000);
|
||||
connectionManager.getParams().setSoTimeout(120000);
|
||||
synchronized (LOCK) {
|
||||
httpConnectionManagerThread.addConnectionManager(connectionManager);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user