Revision 9094
Added by Matt Jones almost 10 years ago
metacat.properties | ||
---|---|---|
594 | 594 |
# Default checksum algorithm |
595 | 595 |
dataone.checksumAlgorithm.default=MD5 |
596 | 596 |
|
597 |
# Default file upload size for create() and update (in bytes) |
|
598 |
dataone.max_upload_size=10000000000 |
|
599 |
|
|
597 | 600 |
# overall services (TODO: mn vs. cn?) |
598 | 601 |
dataone.mn.services.enabled=true |
599 | 602 |
dataone.mn.registration.submitted=false |
Also available in: Unified diff
Updated D1ResourceHandler to not hardcode a file size limit. This will allow
large, multi-gigabyte files to be uploaded, but still needs testing. The limit
is now drawn from the metacat.properties file. An alternative would be to inspect
the Content-Length header of the request and set the max to a value greater than the
request size, but this would allow arbitrarily sized uploads. Warrants discussion.