diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-02-01 23:27:37 +0100 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-02-04 09:52:28 +0100 |
commit | b007ff3f9b00165bd87c18292d8b23d4acc83ab9 (patch) | |
tree | 93373830b5080b33f74aaa464c375b11d4c6f969 /libmproxy/protocol | |
parent | af6c2571312132d4309ffc43e86053c40132c849 (diff) | |
download | mitmproxy-b007ff3f9b00165bd87c18292d8b23d4acc83ab9.tar.gz mitmproxy-b007ff3f9b00165bd87c18292d8b23d4acc83ab9.tar.bz2 mitmproxy-b007ff3f9b00165bd87c18292d8b23d4acc83ab9.zip |
fix locking issues
Diffstat (limited to 'libmproxy/protocol')
-rw-r--r-- | libmproxy/protocol/http2.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmproxy/protocol/http2.py b/libmproxy/protocol/http2.py index 4b582f51..4b3ef0ed 100644 --- a/libmproxy/protocol/http2.py +++ b/libmproxy/protocol/http2.py @@ -72,6 +72,7 @@ class SafeH2Connection(H2Connection): while position < len(chunk): self.lock.acquire() if is_zombie(self, stream_id): + self.lock.release() return max_outbound_frame_size = self.max_outbound_frame_size frame_chunk = chunk[position:position + max_outbound_frame_size] |