diff options
author | Christian Heimes <christian@cheimes.de> | 2013-02-15 14:16:18 +0100 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-02-15 14:16:18 +0100 |
commit | dd836af75d3f53433d45cd2b5e8f0f576d50f292 (patch) | |
tree | f122ba75a1d073f67f76f6a76b4eaaafa955c18d | |
parent | 305455aa9ca548267dd0ae47c4139da2240e6db5 (diff) | |
download | defusedxml-dd836af75d3f53433d45cd2b5e8f0f576d50f292.tar.gz |
document -1
-rw-r--r-- | defusedxml/xmlrpc.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/defusedxml/xmlrpc.py b/defusedxml/xmlrpc.py index ff900e7..0829916 100644 --- a/defusedxml/xmlrpc.py +++ b/defusedxml/xmlrpc.py @@ -40,6 +40,7 @@ except ImportError: # Limit maximum request size to prevent resource exhaustion DoS # Also used to limit maximum amount of gzip decoded data in order to prevent # decompression bombs +# A value of -1 or smaller disables the limit MAX_DATA = 30 * 1024 * 1024 # 30 MB def defused_gzip_decode(data, limit=None): |