diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2017-05-24 11:43:57 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2017-05-24 11:43:57 +0200 |
commit | c9529ffe45fc2794492f1ca37f8788183dd4157b (patch) | |
tree | 64b57bfdc7cd17cba1bcc781c6c4ed6b849da30d | |
parent | 618044c637318749c8bba86d73dd6191b02e24d9 (diff) | |
download | mitmproxy-c9529ffe45fc2794492f1ca37f8788183dd4157b.tar.gz mitmproxy-c9529ffe45fc2794492f1ca37f8788183dd4157b.tar.bz2 mitmproxy-c9529ffe45fc2794492f1ca37f8788183dd4157b.zip |
http1 tests: fix leaking sockets
-rw-r--r-- | test/mitmproxy/proxy/protocol/test_http1.py | 1 |
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): |