Skip to content

Commit

Permalink
diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
dolled-possum committed Jan 5, 2025
1 parent 2bca60a commit ec9b4c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)`);

Expand Down

0 comments on commit ec9b4c0

Please sign in to comment.