|
|
@ -58,7 +58,9 @@ function Connection(config) {
|
|
|
|
connTimeout: config.connTimeout || 10000,
|
|
|
|
connTimeout: config.connTimeout || 10000,
|
|
|
|
keepalive: (typeof config.keepalive === 'boolean'
|
|
|
|
keepalive: (typeof config.keepalive === 'boolean'
|
|
|
|
? config.keepalive
|
|
|
|
? config.keepalive
|
|
|
|
: true)
|
|
|
|
: true),
|
|
|
|
|
|
|
|
xoauth:config.xoauth,
|
|
|
|
|
|
|
|
xoauth2:config.xoauth2,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
this._sock = undefined;
|
|
|
|
this._sock = undefined;
|
|
|
|