From ec9b4c06030cc3c044697719392711d94bda7b68 Mon Sep 17 00:00:00 2001 From: ~dolled-possum Date: Sat, 4 Jan 2025 21:06:11 -0500 Subject: [PATCH] diagnostics --- server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server.js b/server.js index 7490910..7034dcc 100644 --- a/server.js +++ b/server.js @@ -61,6 +61,7 @@ server.on('upgrade', (req, socket, head) => { // Handle new client connections on the wss wss.on('connection', (clientSocket, req, remoteSocket) => { const clientId = ++connectionCounter; + console.log(req); const clientIdAndHost = `${clientId} ${req.hostname}` tsLog(`[client #${clientIdAndHost}] Handshake complete (remote is open)`);