Change default for keepalive autodisconnect config

By default, automatically disconnect if no response. This is preferable
because we can sometimes lose connectivity without receiving a close
event from the socket, but it's also possible that the endpoint may not
support responses.

// FREEBIE
This commit is contained in:
lilia 2015-07-29 10:51:33 -07:00
parent fdad87b6a0
commit 2b563212b4
3 changed files with 7 additions and 9 deletions

View file

@ -38636,7 +38636,7 @@ TextSecureWebSocket = function (url, opts) {
}
this.disconnect = opts.disconnect;
if (this.disconnect === undefined) {
this.disconnect = false;
this.disconnect = true;
}
this.wsr = websocketResource;
this.reset();