ron190
2015-12-26 00:29:57 UTC
Hello,
I have set responseTimeout and soTimeout to 15000ms but I still get a
timeout after 90s.
I tested this on v1.3.18 and v1.3.17.
When I don't register jcifs my default timeout for HttpURLConnection occurs
correctly after 15s :
connection.setReadTimeout(15000);
connection.setConnectTimeout(15000);
But when I register jcifs then the timout occurs after 90s:
System.setProperty("jcifs.smb.client.responseTimeout", "15000");
System.setProperty("jcifs.smb.client.soTimeout", "15000");
jcifs.Config.registerSmbURLHandler();
[...]
connection.setReadTimeout(15000);
connection.setConnectTimeout(15000);
It seems that the jcifs timeout and my default timeout are both ignored for
another value of 90s (85s exactly).
I have also tried setProperty directly on Config but it does not change :
jcifs.Config.setProperty("jcifs.smb.client.responseTimeout", "15000");
jcifs.Config.setProperty("jcifs.smb.client.soTimeout", "15000");
Rgds
I have set responseTimeout and soTimeout to 15000ms but I still get a
timeout after 90s.
I tested this on v1.3.18 and v1.3.17.
When I don't register jcifs my default timeout for HttpURLConnection occurs
correctly after 15s :
connection.setReadTimeout(15000);
connection.setConnectTimeout(15000);
But when I register jcifs then the timout occurs after 90s:
System.setProperty("jcifs.smb.client.responseTimeout", "15000");
System.setProperty("jcifs.smb.client.soTimeout", "15000");
jcifs.Config.registerSmbURLHandler();
[...]
connection.setReadTimeout(15000);
connection.setConnectTimeout(15000);
It seems that the jcifs timeout and my default timeout are both ignored for
another value of 90s (85s exactly).
I have also tried setProperty directly on Config but it does not change :
jcifs.Config.setProperty("jcifs.smb.client.responseTimeout", "15000");
jcifs.Config.setProperty("jcifs.smb.client.soTimeout", "15000");
Rgds