netty5/codec-http
Violeta Georgieva b27914e302
AbstractDiskHttpData#getChunk closes fileChannel only if everything w… (#10481)
Motivation:
AbstractDiskHttpData#getChunk opens and closes fileChannel every time when it is invoked,
as a result the uploaded file is corrupted. This is a regression caused by #10270.

Modifications:

- Close the fileChannel only if everything was read or an exception is thrown
- Add unit test

Result:
AbstractDiskHttpData#getChunk closes fileChannel only if everything was read or an exception is thrown
2020-08-14 10:54:43 +02:00
..
src AbstractDiskHttpData#getChunk closes fileChannel only if everything w… (#10481) 2020-08-14 10:54:43 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2020-07-09 12:27:06 +00:00