http2: fix kill (#1413)

This commit is contained in:
Thomas Kriechbaumer 2016-07-23 20:11:45 +02:00 committed by Maximilian Hils
parent 514ea1b701
commit c58db1adf3

View File

@ -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()