--
All messages to this mailing list should adhere to the Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/3e591cd5-338d-461e-ad06-4aeb97476b1fn%40googlegroups.com.
I have tracked down the problem downloading large files. The web
browsers request partial ranges of the files with HTTP headers like
this:
Range: bytes=2238906368-
The DSpace XMLUI is based on Cocoon. Cocoon's Byte Range handler has
code that tries to parse each number in the byte range as an integer.
In Java, the maximum size of a signed integer is 2,147,483,647, which is
less than 2238906368. This throws a NumberFormatException back to
DSpace, which returns a 416 HTTP Status code to the browser:
HTTP/1.1 416 Requested Range Not Satisfiable
The browser doesn't get the file.
I don't know yet what the best workaround is - I'm not sure that Cocoon is an active project, and the DSpace community is looking to move away from Cocoon (I've heard) with its next interface system.
--
All messages to this mailing list should adhere to the Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/29f434c8-1934-49e4-be81-fe1c597818a6n%40googlegroups.com.