When an error (Exception) occurs you must call abort() on the request (ie 
your HttpGet or HttpPost instance).
Also if you don't read (or read partially) the Entity in the response, you 
must call EntityUtils.consume(entity). Otherwise you may have hanging 
threads / connections.

But I forgot to tell that my app uses a slightly tweaked AndroidHttpClient 
that uses current version of Apache httpcore/httpclient (vs the older 
version packaged
with the Platform). Let me know if you want a link to my version of 
AndroidHttpClient + repackaged httpcore/httpclient. It works as a singleton 
without problem.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to