Connection: fix config variable reference

fork
Andrea Parodi 9 years ago committed by Brian White
parent 69d594b5f6
commit 2373af9e79

@ -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