caelum/vraptor — Issue #406: InputStreamDownload doesn't close the streams
Author: romuloaps
Created: 2011-10-13 20:07:05+00:00
State: open

The class InputStreamDownload doesn't close the reading stream in the "writer" method. It causes a lock on file in disk when you use FileDownload.

When using any Download instance, the writing stream stays open too, because the ByteStreams.copy doesn't close it.