diff --git a/libmproxy/protocol/http2.py b/libmproxy/protocol/http2.py index 4b582f51a..4b3ef0ed4 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]