fixed warnings or some such.
authorChris Koeritz <fred@gruntose.com>
Sun, 14 Oct 2012 21:11:33 +0000 (17:11 -0400)
committerChris Koeritz <fred@gruntose.com>
Sun, 14 Oct 2012 21:11:33 +0000 (17:11 -0400)
kona/src/org/feistymeow/networking/BasicWebServer.java

index 8e6685a9e1f11be7ad805ab0b71a0fc3bacef677..b85896f6600322126f6b2230771490913c9ab1bc 100644 (file)
@@ -223,6 +223,7 @@ public class BasicWebServer
                                        while ((n = f.read(a)) > 0)
                                                out.write(a, 0, n);
                                        logger.debug("wrote file back for request, closing stream.");
+                                       f.close();
                                        out.close();
                                } catch (FileNotFoundException x) {
                                        logger.error("failed to find requested file: " + filename);