Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-311

Servlet input stream gets corrupted

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.9.17
    • Fix Version/s: 0.9.27
    • Component/s: None
    • Labels:
      None
    • 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

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              ceki Ceki Gülcü
              Reporter:
              augusto Augusto
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: