aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2016-09-06 10:18:50 -0700
committerMicah Lee <micah@micahflee.com>2016-09-06 10:18:50 -0700
commit7ab936cec20322c6c530e1b62c18e1a07497b86e (patch)
tree2a9eb97412ed0c1db2b0e00e8d23ba1e2a911821
parent8a406025741c6ef744aa2a3adb94553e17ab18a4 (diff)
downloadonionshare-7ab936cec20322c6c530e1b62c18e1a07497b86e.tar.gz
onionshare-7ab936cec20322c6c530e1b62c18e1a07497b86e.zip
Prevent canceling download from being confused with rate limit attacker
-rw-r--r--onionshare/web.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/onionshare/web.py b/onionshare/web.py
index 958e8c3a..f0cb830b 100644
--- a/onionshare/web.py
+++ b/onionshare/web.py
@@ -73,7 +73,7 @@ REQUEST_DOWNLOAD = 1
REQUEST_PROGRESS = 2
REQUEST_OTHER = 3
REQUEST_CANCELED = 4
-REQUEST_RATE_LIMIT = 4
+REQUEST_RATE_LIMIT = 5
q = queue.Queue()