summaryrefslogtreecommitdiffhomepage
path: root/Memory.hs
Commit message (Collapse)AuthorAge
* add license headers to all source filesJoey Hess2017-04-30
|
* memory DOS preventionJoey Hess2017-04-18
Prevent DOS of user side by limiting the size of the BackLog that is maintained. This should not cause problems in even high latency environments, and should prevent memory use > 16 mb. The developer side does not keep much data, other than a list of the Hashes of things it has recently sent, so is not susceptable to memory DOS. This commit was sponsored by Brock Spratlen on Patreon.