No.
Threads call a certain getResponse() function which does a
httpclient.execute() call. We do a response.getEntity().getContent()
and pass the InputStream to the caller. So, you see, the HttpEntity is
not handed over to anyone as is.

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

So if the caller of getResponse() is passing this InputStream to a
parser and a parser reads the entire Stream and closes it, the
connection should be realeased. Is this how it works?

Thanks for your time.

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

Reply via email to