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

2001-01-08 Thread Remy Maucherat
> I noticed the possibility for an infinite loop in > org.apache.catalina.connector.http.SocketInputStream > after the commit on thursday... > > I've attached a patch, but the diff is pretty unreadable... > > I changed the following piece of code: > > do { // Skipping CR or LF >

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

2001-01-08 Thread Luc Vanlerberghe
Oops, apparently I tend to misread do {} while's as the pascal repeat...until statement (not the first time...). I thought the loop was skipping until the next CR/LF. Please ignore my earlier mail... Luc "Vanlerberghe, Luc" wrote: > > I noticed the possibility for an infinite loop in > org.ap

[PATCH] Tomcat4.0: org.apache.catalina.connector.http.SocketInputStream

2001-01-08 Thread Vanlerberghe, Luc
I noticed the possibility for an infinite loop in org.apache.catalina.connector.http.SocketInputStream after the commit on thursday... I've attached a patch, but the diff is pretty unreadable... I changed the following piece of code: do { // Skipping CR or LF try {