diff --git a/src/it/ksuploader/main/RequestHandler.java b/src/it/ksuploader/main/RequestHandler.java index c6bcbba..7bdc0e1 100644 --- a/src/it/ksuploader/main/RequestHandler.java +++ b/src/it/ksuploader/main/RequestHandler.java @@ -25,8 +25,6 @@ public RequestHandler(SocketChannel socketChannel) { public void run() { try { - - // socketChannel.socket().setSoTimeout(10000); MainServer.log("Client connected from: " + socketChannel); // Ricevo @@ -60,12 +58,6 @@ public void run() { switch (type) { case "img": - - // transfer image - // returnValue = - // readImageFromSocket(MainServer.config.getFolder() + "/" + - // fileName + ".png"); - // transfer image MainServer.log("Transfer started."); returnValue = readFileFromSocket(MainServer.config.getFolder() + "/" + fileName + ".png");