[
https://issues.apache.org/jira/browse/VFS-705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Gregory closed VFS-705.
----------------------------
Resolution: Fixed
Oops, I created [VFS-706] and committed with that ticket reference instead of
this one. I marking this ticket as a duplicate of [VFS-706], sorry about that.
> Add ability to specify the buffer size of input/output streams
> --------------------------------------------------------------
>
> Key: VFS-705
> URL: https://issues.apache.org/jira/browse/VFS-705
> Project: Commons VFS
> Issue Type: Improvement
> Affects Versions: 2.3
> Reporter: Boris Petrov
> Priority: Major
>
> "FileContent.getInputStream"'s documentation specifies that "The input stream
> is buffered" which is true (because the implementation in
> "DefaultFileContent" wraps it in "FileContentInputStream" which inherits
> "MonitorInputStream" which in turn "BufferedInputStream". However, there is
> no way to configure the buffer size and sometimes the default one which is
> just 8 KB might not be a good choice. Adding an ability to specify a
> different buffer size will help greatly boost the performance when talking to
> slow providers.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)