From 42507377f4f18d11ca19bf570ce4a5bbf4ad2d76 Mon Sep 17 00:00:00 2001 From: weiZhen Date: Mon, 30 May 2022 16:39:57 +0800 Subject: [PATCH] remove debug --- .../src/main/java/core/http/handler/StaticFileHandler.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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