2
2
espelhamento de https://git.coolaj86.com/coolaj86/telebit.js.git sincronizado 2025-12-19 00:58:38 +00:00

retry after bad network conn

Esse commit está contido em:
AJ ONeal 2018-07-03 03:42:17 -06:00
commit 82763460ef

Ver arquivo

@ -484,6 +484,11 @@ function _connect(state) {
}
, onError: function (err) {
if ('ENOTFOUND' === err.code) {
// DNS issue, probably network is disconnected
timeoutId = setTimeout(connect, 90 * 1000);
return;
}
console.error("[tunnel error] " + err.message);
console.error(err);
if (connCallback) {