tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <r...@apache.org>
Subject Re: cvs commit: jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11 InternalInputBuffer.java
Date Tue, 05 Nov 2002 16:37:37 GMT
Henri Gomez wrote:

> remm@apache.org wrote:
>
> > remm        2002/11/05 08:26:38
> >
> >   Modified:    http11/src/java/org/apache/coyote/http11
> >                         InternalInputBuffer.java
> >   Log:
> >   - I think a 0 result is an error according to the JVM javadocs (we
> > are using
> >     InputStream.read(byte[], int, int)).
>
>
> Under unix it means that the connection was closed by remote side...

You're not getting an IOE in that case ? That would have caused a loop.
The javadocs are very explicit on this, and 0 shouldn't even happen 
(I've never seen it on Windows, BTW) :-(

Remy


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message