[jboss-jira] [JBoss JIRA] (JBWEB-280) ChunkedInputFilter returning EOF when client closes connection without sending end chunk

Thomas Sartissohn (JIRA) jira-events at lists.jboss.org
Wed Oct 9 09:19:02 EDT 2013


Thomas Sartissohn created JBWEB-280:
---------------------------------------

             Summary: ChunkedInputFilter returning EOF when client closes connection without sending end chunk
                 Key: JBWEB-280
                 URL: https://issues.jboss.org/browse/JBWEB-280
             Project: JBoss Web
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Tomcat
    Affects Versions: JBossWeb-7.0.13.GA
            Reporter: Thomas Sartissohn
            Assignee: Remy Maucherat


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list