[tor-commits] [flashproxy/js] Add dummy rate limit.
dcf at torproject.org
dcf at torproject.org
Fri Mar 30 08:13:35 UTC 2012
commit 2929f9fb835c4b6f286b6ee4d5e2783e5ebc4445
Author: David Fifield <david at bamsoftware.com>
Date: Thu Mar 29 20:51:47 2012 -0700
Add dummy rate limit.
---
flashproxy.js | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/flashproxy.js b/flashproxy.js
index 1ea366f..90a8869 100644
--- a/flashproxy.js
+++ b/flashproxy.js
@@ -125,6 +125,11 @@ function FlashProxy()
}
};
+ var rate_limit = {
+ is_limited: function() { return false; },
+ when: function() { return 0; }
+ };
+
this.badge_elem = debug_div;
this.badge_elem.setAttribute("id", "flashproxy-badge");
More information about the tor-commits
mailing list