Monday, November 29, 2010

[android-developers] Re: Questions about ThreadSafeHttpClient connection

I should take the time out to go through the code.

I read somewhere that if the stream is at least read in full, the
connection is returned back to the pool.

I tried making almost concurrent requests from different threads and
it seems that there is only a certain thread that is blocked waiting
for a Connection. A quick check shows that the thread tries parsing
the stream using a pull parser and returns before END_DOCUMENT is
encountered. Maybe this is causing a connection leak?

Thanks again for your reply and time!

--
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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate