diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-10-31 09:35:57 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-10-31 09:35:57 +0100 |
commit | 92cb7f56f38564d62c79a6c67b8b99248a3baa74 (patch) | |
tree | 2bcbc4838c845a0d347b8d82474649d066b89d41 /program/js | |
parent | 9c299eb9e695810272ed90c35993d34157d0d6ae (diff) |
Fix possible HTTP DoS on error in keep-alive requests (#1488782)
Diffstat (limited to 'program/js')
-rw-r--r-- | program/js/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/js/app.js b/program/js/app.js index 1aa008295..c151a1012 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -6273,9 +6273,9 @@ function rcube_webmail() // re-send keep-alive requests after 30 seconds if (action == 'keep-alive') - setTimeout(function(){ ref.keep_alive(); }, 30000); + setTimeout(function(){ ref.keep_alive(); ref.start_keepalive(); }, 30000); else if (action == 'check-recent') - setTimeout(function(){ ref.check_for_recent(false); }, 30000); + setTimeout(function(){ ref.check_for_recent(false); ref.start_keepalive(); }, 30000); }; // post the given form to a hidden iframe |