This commit is contained in:
Lucio Lelii 2018-10-16 13:57:23 +00:00
parent 9013721e12
commit 3d509ae807
1 changed files with 1 additions and 0 deletions

View File

@ -151,6 +151,7 @@ public class DataspaceManager implements Runnable {
for (int i=0;i<tries;i++){ for (int i=0;i<tries;i++){
try { try {
URL urlc = new URL(data.payload); URL urlc = new URL(data.payload);
url = urlc.toString();
HttpURLConnection urlConnection = (HttpURLConnection) urlc.openConnection(); HttpURLConnection urlConnection = (HttpURLConnection) urlc.openConnection();
urlConnection.setConnectTimeout(10000); urlConnection.setConnectTimeout(10000);
urlConnection.setReadTimeout(10000); urlConnection.setReadTimeout(10000);