Should work now.
This commit is contained in:
parent
03df23e214
commit
fda3901691
2
index.ts
2
index.ts
@ -48,7 +48,7 @@ let srv = net.createServer(function(socket: net.Socket) {
|
|||||||
if (typeof p.data === 'undefined') {
|
if (typeof p.data === 'undefined') {
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
data = data.slice(s.search("\r"));
|
data = data.slice(s.search("\r") + 2);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
console.log("Address " + addr + " tried to use proxy protocol.");
|
console.log("Address " + addr + " tried to use proxy protocol.");
|
||||||
|
Loading…
Reference in New Issue
Block a user