Revert "Add timeout for Http request" merge
See !117 and #387 This reverts commit e895d1f0d3d6b333eeaa3e82e58392b58d647c33, reversing changes made to 8d5c7abe89f98d4c8248e0b50eb8857f2a31f049.
This commit is contained in:
parent
0515948055
commit
ef56f8db88
@ -72,8 +72,6 @@ public class HttpDownloader extends Downloader {
|
|||||||
} else {
|
} else {
|
||||||
connection = (HttpURLConnection) sourceUrl.openConnection();
|
connection = (HttpURLConnection) sourceUrl.openConnection();
|
||||||
}
|
}
|
||||||
connection.setConnectTimeout(10000);
|
|
||||||
connection.setReadTimeout(40000);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void doDownload() throws IOException, InterruptedException {
|
protected void doDownload() throws IOException, InterruptedException {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user