[
https://jira.jboss.org/jira/browse/JBSEAM-4046?page=com.atlassian.jira.pl...
]
Stefano Travelli updated JBSEAM-4046:
-------------------------------------
Attachment: JBSEAM-4046.patch
The attached patch add a 32k buffer.
There some other point in the code where a buffer is used for similar purposes but is
quite small, like 512 or 1024 bytes. Maybe it could be standardized on some bigger value.
Downloading big files with s:resource is slow
---------------------------------------------
Key: JBSEAM-4046
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4046
Project: Seam
Issue Type: Bug
Components: JSF Controls
Affects Versions: 2.1.2.CR1
Reporter: Stefano Travelli
Attachments: JBSEAM-4046.patch
The reason is in the way method DocumentStoreUtils.writeStream() moves data between
streams, that is one byte at time.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira