Lines 733-739
Link Here
|
733 |
try { |
733 |
try { |
734 |
URL docUrl = new URL(docUrlValue); |
734 |
URL docUrl = new URL(docUrlValue); |
735 |
URLConnection connection = docUrl.openConnection(); |
735 |
URLConnection connection = docUrl.openConnection(); |
736 |
connection.setReadTimeout(5000); |
736 |
String timeoutVal = "10000"; //$NON-NLS-1$ |
|
|
737 |
System.setProperty("sun.net.client.defaultConnectTimeout", timeoutVal); //$NON-NLS-1$ |
738 |
System.setProperty("sun.net.client.defaultReadTimeout", timeoutVal); //$NON-NLS-1$ |
737 |
if (connection instanceof JarURLConnection) { |
739 |
if (connection instanceof JarURLConnection) { |
738 |
connection2 = (JarURLConnection) connection; |
740 |
connection2 = (JarURLConnection) connection; |
739 |
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=156307 |
741 |
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=156307 |