mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-06 09:55:21 -05:00
Prevent canceling download from being confused with rate limit attacker
This commit is contained in:
parent
8a40602574
commit
7ab936cec2
@ -73,7 +73,7 @@ REQUEST_DOWNLOAD = 1
|
|||||||
REQUEST_PROGRESS = 2
|
REQUEST_PROGRESS = 2
|
||||||
REQUEST_OTHER = 3
|
REQUEST_OTHER = 3
|
||||||
REQUEST_CANCELED = 4
|
REQUEST_CANCELED = 4
|
||||||
REQUEST_RATE_LIMIT = 4
|
REQUEST_RATE_LIMIT = 5
|
||||||
q = queue.Queue()
|
q = queue.Queue()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user