DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12870>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12870

CoyoteInputStream does not implement the available() method

           Summary: CoyoteInputStream does not implement the available()
                    method
           Product: Tomcat 4
           Version: 4.1.9
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Connector:Coyote HTTP/1.1
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Looking at the org.apache.coyote.tomcat4.CoyoteInputStream I have noticed that 
it does not override the available() method from InputStream.  

Therefore it will always return 0.

It appears that the protected int readBytes() in CoyoteInputStream may do the 
same as the available() method, but I was not sure.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to