Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
try { raf = new RandomAccessFile(file, "r"); } catch (FileNotFoundException e) { StaticFileServerHandler.sendError(ctx, NOT_FOUND); return; } long fileLength = raf.length();
raf should be closed in all possible execution paths.