]> source.dussan.org Git - nextcloud-server.git/commit
Added max heartbeat interval to prevent integer overflow
authorVincent Petry <pvince81@owncloud.com>
Thu, 12 Jun 2014 16:41:19 +0000 (18:41 +0200)
committerVincent Petry <pvince81@owncloud.com>
Thu, 12 Jun 2014 16:41:19 +0000 (18:41 +0200)
commitce168c286ac0ebd8c38a659880f85d270c697b69
tree91f2c917e123f5fe50bedf4f8a43267351f9564d
parentab7cff6dfd63213746a29f4c0557e92a84561498
Added max heartbeat interval to prevent integer overflow

When using big session timeout values, the interval value might
overflow and cause the setInterval() call to ping the server in a loop
without any delay.

This fix adds a maximum ping interval of 24 hours.

Forward port of 00ec5fc1935c946e846a8ff28491e5b5b017b3d7 from stable6.
core/js/js.js