On Thu, 2008-04-17 at 11:40 +0200, Jan Bracker wrote:
Hello,
i'm using the DefaultHttpClient for downloading bigger files. When i
want to abort a download i call response.getEntity().consumeContent()
Why? The purpose of HttpEntity#consumeContent() method is to ensure the
underlying
(I assume that is what i should do if i want to close connections of
HttpClient). But the longer content downloaded on that connections get
the more time it takes to close the given connection.
Please use #abort method instead.
I can't find any #abort methode within
Jan Bracker wrote:
(I assume that is what i should do if i want to close connections of
HttpClient). But the longer content downloaded on that connections get
the more time it takes to close the given connection.
Please use #abort method instead.
I can't find any #abort methode
Thank you, that solved my problem.
2008/4/17, Sebastiaan van Erk [EMAIL PROTECTED]:
Jan Bracker wrote:
(I assume that is what i should do if i want to close connections of
HttpClient). But the longer content downloaded on that connections
get
the more time it takes to close