aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2017-05-24 11:43:57 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2017-05-24 11:43:57 +0200
commitc9529ffe45fc2794492f1ca37f8788183dd4157b (patch)
tree64b57bfdc7cd17cba1bcc781c6c4ed6b849da30d /test
parent618044c637318749c8bba86d73dd6191b02e24d9 (diff)
downloadmitmproxy-c9529ffe45fc2794492f1ca37f8788183dd4157b.tar.gz
mitmproxy-c9529ffe45fc2794492f1ca37f8788183dd4157b.tar.bz2
mitmproxy-c9529ffe45fc2794492f1ca37f8788183dd4157b.zip
http1 tests: fix leaking sockets
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/proxy/protocol/test_http1.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/mitmproxy/proxy/protocol/test_http1.py b/test/mitmproxy/proxy/protocol/test_http1.py
index 07cd7dcc..b642afb3 100644
--- a/test/mitmproxy/proxy/protocol/test_http1.py
+++ b/test/mitmproxy/proxy/protocol/test_http1.py
@@ -65,6 +65,7 @@ class TestExpectHeader(tservers.HTTPProxyTest):
assert resp.status_code == 200
client.finish()
+ client.close()
class TestHeadContentLength(tservers.HTTPProxyTest):