On Nov 29, 2:25 am, Samuh <[email protected]> wrote: > From the Http Components documentation, I gathered that even if the > stream is read till the end, the connection would be released to the > manager. Is this correct?
I don't know offhand, but the source is freely available to find out for sure. I do know that I always use consumeContent() and I've never had problems. The javadoc for consumeContent() suggests that its use will facilitate proper use of http keep-alive connections, which should help connection management all around. It might be worth re- thinking the procedure you're using to process the streams. Perhaps the caller could expose a callback object to read the contents of the stream rather than giving up control of the stream completely. Doug -- 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

