bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug inetlib/22806] LineInputStream


From: gcc-bugzilla at gcc dot gnu dot org
Subject: [Bug inetlib/22806] LineInputStream
Date: 16 Oct 2005 01:27:17 -0000

I had to disable block reads to be able to use it (via POP3Messages).
When block reads was enabled, the line 147
len = in.read(b, 0, pos);
was looping since len was -1 (nothing to read) and len was supposed to be >0.
It was looping until pos was >0 again.
But of course the fetch of the message was flowed : the headers were showing in
message body.


------- Comment #1 from from-classpath at savannah dot gnu dot org  2005-01-13 
11:16 -------
This applies to GNU classpath too as it now uses this class too for the HTTP
client implementation.


------- Comment #2 from from-classpath at savannah dot gnu dot org  2005-01-13 
11:36 -------
I should the source code before doing any assumptions. This bug is already
fixed in GNU inetlib and GNU classpath CVS.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22806





reply via email to

[Prev in Thread] Current Thread [Next in Thread]