Monday, August 29, 2011

[android-developers] Re: Using AndroidHttpClient as a singleton.

Well, I can say that it sounds really nice in theory.

In practice, all you have to do is have a few requests fail, and then
a subsequent request is completely frozen.

The thread is then blocked on this call.
ConnPoolByRoute.getEntryBlocking(HttpRoute, Object, long, TimeUnit,
WaitingThreadAborter) line: 339
ConnPoolByRoute$1.getPoolEntry(long, TimeUnit) line: 238
ThreadSafeClientConnManager$1.getConnection(long, TimeUnit) line: 175

So how am I supposed to use AndroidHttpClient?

Nathan

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment