Hi,

compared to other methods in B/NioUtils the method

NioUtils.copy(FileChannel fileChannel, WritableByteChannel writableChannel)

does not close the input channel at the end.

Is this on purpose? (2.1jse-snapshot)

We use a caching mechanism based on Directory and found far too many file
handles in use. I verified that the copy(FileChannel, ...) is actually
called, but didn't find the time to modify it accordingly.

Guido Schmidt.
-- 
View this message in context: 
http://restlet-discuss.1400322.n2.nabble.com/Should-NioUtils-copy-FileChannel-fileChannel-close-fileChannel-at-the-end-tp5977847p5977847.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2701704

Reply via email to