forked from svrjs/svrjs
Remove duplicate client socket check
This commit is contained in:
parent
50be3cb450
commit
70cb113715
1 changed files with 0 additions and 5 deletions
5
svr.js
5
svr.js
|
@ -3404,11 +3404,6 @@ if (!cluster.isPrimary) {
|
||||||
vresCalled = true;
|
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 to check the level of a path relative to the web root
|
||||||
function checkPathLevel(path) {
|
function checkPathLevel(path) {
|
||||||
// Split the path into an array of components based on "/"
|
// Split the path into an array of components based on "/"
|
||||||
|
|
Reference in a new issue