mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
http2: fix kill (#1413)
This commit is contained in:
parent
514ea1b701
commit
c58db1adf3
@ -584,6 +584,8 @@ class Http2SingleStreamLayer(http._HttpTransmissionLayer, basethread.BaseThread)
|
||||
except exceptions.ProtocolException as e: # pragma: no cover
|
||||
self.log(repr(e), "info")
|
||||
self.log(traceback.format_exc(), "debug")
|
||||
except exceptions.Kill:
|
||||
self.log("Connection killed", "info")
|
||||
|
||||
if not self.zombie:
|
||||
self.zombie = time.time()
|
||||
|
Loading…
Reference in New Issue
Block a user