[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] Re: Patch: FYI: fix http Headers oddity
From: |
Chris Burdess |
Subject: |
Re: [cp-patches] Re: Patch: FYI: fix http Headers oddity |
Date: |
Thu, 19 May 2005 09:22:58 +0100 |
User-agent: |
Mutt/1.3.28i |
Bryce McKinlay wrote:
> Does anyone know why we use the custom "LineInputStream" class instead
> of, say, BufferedReader here? At one point BufferedReader.readLine() was
> buggy and could "read too much" and block before returning a line, but I
> believe we have fixed that. Code re-use would help to avoid bugs like
> this ;-)
Erm, because LineInputStream is an InputStream dealing with bytes, and
BufferedReader is a Reader dealing with chars.
--
Chris Burdess