From fe4178ec334259c2ce4a4b41642d828c4b41f561 Mon Sep 17 00:00:00 2001 From: Adithya Abraham Philip Date: Sat, 13 Jun 2015 06:38:15 +0530 Subject: [PATCH] tempfxi --- .../sufficientlysecure/keychain/keyimport/HkpKeyserver.java | 4 ---- 1 file changed, 4 deletions(-) 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()); }