mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2025-01-31 12:52:36 +01:00
its fix time again
This commit is contained in:
parent
0f391a9420
commit
215616043d
@ -102,6 +102,7 @@ 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");
|
||||||
|
|
||||||
@ -146,10 +147,6 @@ public class NormalProxyProvider extends ProxyProvider {
|
|||||||
@Override
|
@Override
|
||||||
protected void onConnect() {
|
protected void onConnect() {
|
||||||
super.onConnect();
|
super.onConnect();
|
||||||
|
|
||||||
if (hostRedirected) {
|
|
||||||
removeFromHosts();
|
|
||||||
}
|
|
||||||
clearAllProxies();
|
clearAllProxies();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user