I just can't kill Java thread.
- by Adrian
I have a thread that downloads some images from internet using different proxies.
Sometimes it hangs, and can't be killed by any means.
public HttpURLConnection uc;
public InputStream in;
Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("server", 8080));
URL url = new URL("http://images.com/image.jpg");
uc =…