aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/proxy.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmproxy/proxy.py')
-rw-r--r--libmproxy/proxy.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmproxy/proxy.py b/libmproxy/proxy.py
index 9249de86..2d4ee988 100644
--- a/libmproxy/proxy.py
+++ b/libmproxy/proxy.py
@@ -123,6 +123,7 @@ def read_http_body(rfile, connection, headers, all, limit):
content = rfile.read(limit if limit else None)
connection.close = True
else:
+ connection.close = True
content = ""
return content