On 05/11/2011 10:42 PM, Edward Sumerfield wrote:
You don't need to read bytes one at a time. Instead wrap your input stream
in a buffered input stream so you can read many at once. This is far more
efficient.
I know, I just tried to see if that makes a difference. I use readline
on a bufferedreader. But Oleg just remarked that that may not be efficient.
I found the problem, it was not in HttpClient. Thanks for the replies.
dagdag
Christine
If you post your code we may be able to give you a more specific answer.
Sent from Incredible Android.
On May 11, 2011 1:06 PM, "Christine Karman"<myli...@christine.nl> wrote:
Hi,
I'm reading an inputstream, but somehow the input gets chopped off at
around 4k characters. I'm reading the characters one by one from the
input stream. I've never seen this before, but then, maybe I've never
read input more than 4k at a time. Does it ring a bell with somone?
What can I do wrong to chop the input at around 4030 characters?
Thanks in advance....
dagdag
Christine
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org