Rename upgradeReq in http_client to make identical with master
This commit is contained in:
parent
5c3ac5254f
commit
41cd3f8adf
|
|
@ -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);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue