aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmproxy/protocol/http2.py1
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]