diff --git a/sky-infrastructure/src/main/java/core/http/handler/StaticFileHandler.java b/sky-infrastructure/src/main/java/core/http/handler/StaticFileHandler.java index 3d94f18..3ba4a82 100644 --- a/sky-infrastructure/src/main/java/core/http/handler/StaticFileHandler.java +++ b/sky-infrastructure/src/main/java/core/http/handler/StaticFileHandler.java @@ -118,9 +118,7 @@ public void handle(final HttpServerRequest request, final HttpServerResponse res //endregion prepareHeaders(response, file); - response.sendFile(raf, Netty.DEFAULT_CHUNK_SIZE).addListener(f -> { - System.out.println("f.cause() = " + f.cause()); - }); + response.sendFile(raf, Netty.DEFAULT_CHUNK_SIZE); } @Override