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

Ceki Gulcu (JIRA) noreply-jira at qos.ch
Tue Nov 16 22:55:51 CET 2010


     [ http://jira.qos.ch/browse/LBACCESS-10?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ceki Gulcu resolved LBACCESS-10.
--------------------------------

    Fix Version/s: 0.9.27
       Resolution: Fixed

Fixed in http://github.com/ceki/logback/commit/8c



> 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: Ceki Gulcu
>            Priority: Critical
>             Fix For: 0.9.27
>
>         Attachments: my-webapp.zip
>
>
> 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