diff --git a/src/zutil/net/http/pages/HttpFilePage.java b/src/zutil/net/http/pages/HttpFilePage.java index e4022c3..b660cb7 100644 --- a/src/zutil/net/http/pages/HttpFilePage.java +++ b/src/zutil/net/http/pages/HttpFilePage.java @@ -122,7 +122,8 @@ public class HttpFilePage implements HttpPage{ out.setHeader("Content-Type", getMIMEType(file)); out.flush(); - BufferedInputStream in = new BufferedInputStream(new FileInputStream(file)); + //InputStream in = new BufferedInputStream(new FileInputStream(file)); + InputStream in = new FileInputStream(file); IOUtil.copyStream(in, out); in.close(); }