c13f72c5b6
Related: #2964 Motivation: Writing a zero-length FileRegion to an NIO channel will lead to an infinite loop. Modification: - Do not write a zero-length FileRegion by protecting with proper 'if'. - Update the testsuite Result: Another bug fixed