From 70cb113715071c2ef802e0d66c56499483036615 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Sun, 21 Apr 2024 16:32:20 +0200 Subject: [PATCH] Remove duplicate client socket check --- svr.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/svr.js b/svr.js index 763dcf9..bbbc66d 100644 --- a/svr.js +++ b/svr.js @@ -3404,11 +3404,6 @@ if (!cluster.isPrimary) { vresCalled = true; } - if (req.socket == null) { - serverconsole.errmessage("Client socket is null!!!"); - return; - } - // Function to check the level of a path relative to the web root function checkPathLevel(path) { // Split the path into an array of components based on "/"