mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-23 09:12:16 -05:00
tempfxi
This commit is contained in:
parent
4651bb622d
commit
fe4178ec33
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user