diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/keyimport/HkpKeyserver.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/keyimport/HkpKeyserver.java index 69ea4af48..3152db695 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/keyimport/HkpKeyserver.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/keyimport/HkpKeyserver.java @@ -245,10 +245,6 @@ public class HkpKeyserver extends Keyserver { private void tempIpTest(Proxy proxy) throws IOException { URL url = new URL("http://www.eepsite.com"); - HttpURLConnection connection = (HttpURLConnection) url.openConnection(proxy); - connection.setConnectTimeout(100000); - connection.connect(); - Log.e("Philip", connection.getResponseMessage()+" "); Response response = getClient(url, proxy).newCall(new Request.Builder().url(url).build()).execute(); Log.e("PHILIP", "proxy Test: " + response.body().string()); }