From 752eedd9647468aa40028f5e73b80adb88957b34 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 31 Oct 2012 09:35:57 +0100 Subject: Fix possible HTTP DoS on error in keep-alive requests (#1488782) Conflicts: CHANGELOG --- program/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'program') diff --git a/program/js/app.js b/program/js/app.js index 3335d945c..17f423eff 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -6143,9 +6143,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 -- cgit v1.2.3