tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 57581] New: request.getBytesRead() should be long
Date Fri, 13 Feb 2015 04:38:39 GMT

            Bug ID: 57581
           Summary: request.getBytesRead() should be long
           Product: Tomcat 7
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Servlet & JSP API

Class org.apache.coyote.Request has bytesRead variable's return type is int.

When file upload (grater than 2 GB), it returns negative value.

Return type should be change to long.

This bug affected all version of tomcat 6, 7, 8, 9.



private int bytesRead=0;

public int getBytesRead() {
   return bytesRead;


private long bytesRead=0;

public long getBytesRead() {
   return bytesRead;

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message