mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-23 17:00:52 +01:00
i think this is wrong
This commit is contained in:
parent
c24e1fb24e
commit
54b62636e7
@ -102,7 +102,6 @@ public class NormalProxyProvider extends ProxyProvider {
|
|||||||
try {
|
try {
|
||||||
Socket client = proxy_server.accept();
|
Socket client = proxy_server.accept();
|
||||||
proxy = potentialProxy;
|
proxy = potentialProxy;
|
||||||
removeFromHosts();
|
|
||||||
closeAllProxies(proxy);
|
closeAllProxies(proxy);
|
||||||
if (HConnection.DEBUG) System.out.println("accepted a proxy");
|
if (HConnection.DEBUG) System.out.println("accepted a proxy");
|
||||||
|
|
||||||
@ -147,6 +146,7 @@ public class NormalProxyProvider extends ProxyProvider {
|
|||||||
@Override
|
@Override
|
||||||
protected void onConnect() {
|
protected void onConnect() {
|
||||||
super.onConnect();
|
super.onConnect();
|
||||||
|
removeFromHosts();
|
||||||
clearAllProxies();
|
clearAllProxies();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user