commit 5817c257c1568c403a41e108d195b209e4e5f589 Author: David Fifield david@bamsoftware.com Date: Tue Dec 4 17:00:56 2018 -0700
Fix a local variable reference in BucketRateLimit.when.
ReferenceError: age is not defined snowflake.js:265:7 BucketRateLimit.prototype.when snowflake/proxy/build/snowflake.js:265:7 ProxyPair.prototype.flush snowflake/proxy/build/snowflake.js:558:63 bind/< snowflake/proxy/build/snowflake.js:10:56 ProxyPair.prototype.onClientToRelayMessage snowflake/proxy/build/snowflake.js:495:14 bind/< snowflake/proxy/build/snowflake.js:10:56 --- proxy/util.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/proxy/util.coffee b/proxy/util.coffee index 3cb4ff6..8f4c75f 100644 --- a/proxy/util.coffee +++ b/proxy/util.coffee @@ -174,7 +174,7 @@ class BucketRateLimit
# How many seconds in the future will the limit expire? when: -> - age() + @age() (@amount - @capacity) / (@capacity / @time)
isLimited: ->
tor-commits@lists.torproject.org