jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Javier Godoy (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-3175) InputContextImpl: cannot upload file larger than 2GB
Date Mon, 12 Dec 2011 08:10:31 GMT
InputContextImpl: cannot upload file larger than 2GB
----------------------------------------------------

                 Key: JCR-3175
                 URL: https://issues.apache.org/jira/browse/JCR-3175
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-webdav
    Affects Versions: 2.3.6
         Environment: Not applicable
            Reporter: Javier Godoy
            Priority: Minor


If an entity is larger than 2GB, the Content-Length cannot be obtained by using getIntHeader
because of integer overflow. One needs to parse the value of the header from string to long.
This issue affects InputContextImpl.getContentLength() in org.apache.jackrabbit.webdav.io
from webdav/java (the current behavior is that the header is converted from string to int
by the servlet API, then from int to long by Jackrabbit)

Testcase: largefile from Litmus. (test 3 - large_put fails when the PUT request is received)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message