[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/js] Add dummy rate limit.
commit 2929f9fb835c4b6f286b6ee4d5e2783e5ebc4445
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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");
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits