0

Why is HttpUrlConnection not closing?

view story
linux-howto

http://stackoverflow.com – I know it's because i'm piecing together my understanding of this lib. And I don't catch all the ins and outs just yet. But... Why is This connection not closing. When it makes an initial connection, it then sends randomly like 1 or 2 subsequent request. or it might send empty strings {}. And the server isn't giving any response on purpose. private void playOnLoqooTv (String finalUrl) { HttpURLConnection con = null; try { URL url = new URL(finalUrl); // Log.d("TAG", url); System.out.println(url); // Log.d("yo"); (HowTos)