Browse Source

Connection: fix config variable reference

fork
Andrea Parodi 7 years ago
committed by Brian White
parent
commit
2373af9e79
  1. 3
      lib/Connection.js

3
lib/Connection.js

@ -1697,7 +1697,8 @@ Connection.prototype._starttls = function() {
self._sock.on('error', self._onError);
self._sock.on('timeout', this._onSocketTimeout);
self._sock.setTimeout(config.socketTimeout);
self._sock.setTimeout(self._config.socketTimeout);
self._parser.setStream(self._sock);
});

Loading…
Cancel
Save