From 41cd3f8adfffc30adb52f81b1f2bbf2eff5eb54e Mon Sep 17 00:00:00 2001 From: Sam Frances Date: Fri, 3 Nov 2017 15:20:32 +0000 Subject: [PATCH] Rename upgradeReq in http_client to make identical with master --- other/js/websockify.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/other/js/websockify.js b/other/js/websockify.js index 8beda2a..405b4e4 100755 --- a/other/js/websockify.js +++ b/other/js/websockify.js @@ -29,9 +29,9 @@ var argv = require('optimist').argv, // Handle new WebSocket client -new_client = function(client, upgradeReq) { +new_client = function(client, req) { var clientAddr = client._socket.remoteAddress, log; - console.log(upgradeReq ? upgradeReq.url : client.upgradeReq.url); + console.log(req ? req.url : client.req.url); log = function (msg) { console.log(' ' + clientAddr + ': '+ msg); };