I am using a DefaultHttpClient and a ThreadSafeClientConnManager to
share the httpClient across threads. That part is working well.
However, when I execute an HttpPost in one thread, and call
httpPost.abort() from another. It does not return immediately and
continues blocking until the socket timeout is reached in most cases.
Am I missing something else?

I've tried using:

         connectionManager.closeIdleConnections(30, TimeUnit.SECONDS);
         connectionManager.closeExpiredConnections();

But it did not help.

Thanks!

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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to