Uploaded image for project: 'JBoss Web'
  1. JBoss Web
  2. JBWEB-280

ChunkedInputFilter returning EOF when client closes connection without sending end chunk

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: JBossWeb-7.0.13.GA
    • Fix Version/s: None
    • Component/s: Tomcat
    • Labels:
      None

      Description

      I have the case a client is sending the http request in chunks to the server. The server reads the incoming stream till EOF.

      When the connection gets broken while I am reading the stream on the server, I do not get any exception. Instead I get an EOF. So in my case it seems I have already received the whole file, but at the end some bytes are missing.

      The ChunkedInputFilter is just returning -1 instead of throwing some exception.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rmaucher Remy Maucherat
                Reporter:
                sartissohn Thomas Sartissohn
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: