diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-04-18 14:43:16 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-04-18 14:43:16 -0400 |
commit | 713521318289919cc481bf15f28a4a06554485dc (patch) | |
tree | 8f4359a808165487ebf92b8e53080c406bced93a /debug-me.cabal | |
parent | 9102a47c6c68039a288a6ee8f43fe14b034ce356 (diff) | |
download | debug-me-713521318289919cc481bf15f28a4a06554485dc.tar.gz |
memory DOS prevention
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.
Diffstat (limited to 'debug-me.cabal')
-rw-r--r-- | debug-me.cabal | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debug-me.cabal b/debug-me.cabal index cc34c0c..62cfa4c 100644 --- a/debug-me.cabal +++ b/debug-me.cabal @@ -43,6 +43,7 @@ Executable debug-me Graphviz Hash Log + Memory Pty Replay Session |