You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Remy Maucherat <re...@apache.org> on 2001/01/08 18:06:48 UTC

Re: [PATCH] Tomcat4.0: org.apache.catalina.connector.http.SocketInput Stream

> Oops, apparently I tend to misread do {} while like a pascal
repeat...until
> statement (not the first time).
> I thought the loop was skipping the CR and LF characters...
>
> Please ignore my previous mail...
>
> The only remark that still holds is that the following:
> >         if ((chr != CR) || (chr != LF)) {
> >             pos--;
> >         }
> will always execute pos--; so either the test is obsolate or the writer
> meant it differently.

Yes I agree.

Remy