Skip to content

Commit

Permalink
Fixing issue with missing remote address on slave connection.
Browse files Browse the repository at this point in the history
  • Loading branch information
divdavem committed Oct 16, 2014
1 parent d5e03ac commit 4a251c6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/test-server/slave-server.js
Expand Up @@ -101,9 +101,8 @@ var Slave = function (socket, data, config) {
this.userAgent = data.userAgent;
this.browserInfo = detectBrowser(data);
this.displayName = this.browserInfo.displayName;
var connection = socket.request.connection;
this.address = connection.remoteAddress;
this.port = connection.remotePort;
this.address = socket.conn.remoteAddress;
this.port = socket.request.connection.remotePort;
this.addressName = null; // set by onReceiveAddressName
this.currentTask = null;
this.currentCampaign = null;
Expand Down

0 comments on commit 4a251c6

Please sign in to comment.