[logback-dev] [JIRA] Created: (LBACCESS-10) Servlet input stream gets corrupted

Augusto (JIRA) noreply-jira at qos.ch
Thu Oct 29 16:59:44 CET 2009


Servlet input stream gets corrupted
-----------------------------------

                 Key: LBACCESS-10
                 URL: http://jira.qos.ch/browse/LBACCESS-10
             Project: logback-access
          Issue Type: Bug
          Components: Other
    Affects Versions: 0.9.17
         Environment: Windows 7  -  java 1.6.0_16-b01  -  Hightide 6.1H10
Windows 7  -  java 1.6.0_16-b01  -  Tomcat 6.0.16
Solaris 5.10  -  java 1.6.0_16  -  Hightide 6.1H10
            Reporter: Augusto
            Assignee: Logback dev list


The request.inputStream() is wrapped in a TeeServletInputStreamm but this class fails to pass all the data in the original input stream to the servlets. In my tests is passes properly between 4 and 8kb of data and later it just return zeros instead of the characters.

I'm attaching a very simple webapp that writes the input stream of a POST request into a file to demonstrate the bug.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list