tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 44494] New: Requests greater than 8k being truncated.
Date Wed, 27 Feb 2008 03:47:32 GMT
http://issues.apache.org/bugzilla/show_bug.cgi?id=44494

           Summary: Requests greater than 8k being truncated.
           Product: Tomcat 5
           Version: Nightly Build
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connector:Coyote
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: jonathan.rubin@orionhealth.com


After updating to Tomcat 5.5.26 from Tomcat 5.5.23 we appear to be having
trouble with requests, that are greater than 8k, being truncated with the
CoyoteRequest.getReader() method.

The following steps caused this issue to appear:
1. I constructed a post request from a jsp page which exceeded 8k in size.
2. In the corresponding servlet I call request.getReader() and pipe the
returned BufferedReader into a string.
3. Inspection of the string reveals that the content is  being truncated after
8k.
4. If I replace the request.getReader() method call with
request.getInputStream() no truncation occurs. Also, after reverting back to
Tomcat 5.5.23 and using the request.getReader() method no truncation occurs.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message