diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2017-05-24 14:09:41 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2017-05-24 14:09:41 +0200 |
commit | ae7e9efb5ca014291e879694414bbffc982f2a0d (patch) | |
tree | 6ada273eb6d6f0cc9cf04a9d002ee8481d9cce41 /test/pathod/protocols | |
parent | 2faaa0b2a23089b9ffccf2d46dc42328edb76ddd (diff) | |
download | mitmproxy-ae7e9efb5ca014291e879694414bbffc982f2a0d.tar.gz mitmproxy-ae7e9efb5ca014291e879694414bbffc982f2a0d.tar.bz2 mitmproxy-ae7e9efb5ca014291e879694414bbffc982f2a0d.zip |
fix various fd/socket leaks
Diffstat (limited to 'test/pathod/protocols')
-rw-r--r-- | test/pathod/protocols/test_http2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pathod/protocols/test_http2.py b/test/pathod/protocols/test_http2.py index 1c074197..c16a6d40 100644 --- a/test/pathod/protocols/test_http2.py +++ b/test/pathod/protocols/test_http2.py @@ -202,7 +202,7 @@ class TestApplySettings(net_tservers.ServerTestBase): def handle(self): # check settings acknowledgement assert self.rfile.read(9) == codecs.decode('000000040100000000', 'hex_codec') - self.wfile.write("OK") + self.wfile.write(b"OK") self.wfile.flush() self.rfile.safe_read(9) # just to keep the connection alive a bit longer |