Re: IO-753

2021-10-10 Thread sebastian . dietrich
See https://github.com/apache/commons-io/pull/281 Was easily possible without threads using QueueInputStream and QueueOutputStream. Not a huge improvement, but makes the QueueStreams possibilities more visible (QueueInputStream and QueueOutputStream are not documented besides Javadoc) and a so

Re: IO-753

2021-10-09 Thread sebastian . dietrich
Sure that is possible with PipedI/OStreams - and I would rely on that or QueueI/OStream (that should need no extra thread) in the implementation. But that (relying on rather simple implementation based on java.io) is as well true for the existing IOUtils.copy methods. Like with the other IOUtils

IO-753

2021-10-09 Thread sebastian . dietrich
Hi! I'd like to contribute to https://issues.apache.org/jira/browse/IO-753 "Provide a IOUtils.copy(OutputStream, InputStream)" AFAIK this not possible without an extra thread which might be seen as too "heavy" for commons-io. So my question is: Is there any chance that such a PR will be acc