aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/pathod.py
diff options
context:
space:
mode:
Diffstat (limited to 'libpathod/pathod.py')
-rw-r--r--libpathod/pathod.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpathod/pathod.py b/libpathod/pathod.py
index d4535d03..e0e30d17 100644
--- a/libpathod/pathod.py
+++ b/libpathod/pathod.py
@@ -209,7 +209,7 @@ class Pathod(tcp.TCPServer):
"""
A policy check that verifies the request size is withing limits.
"""
- if self.sizelimit and req.effective_length(actions) > self.sizelimit:
+ if self.sizelimit and req.effective_length({}, None) > self.sizelimit:
return "Response too large."
if self.nohang and any([i[1] == "pause" for i in actions]):
return "Pauses have been disabled."