MCPcopy Create free account
hub / github.com/mitmproxy/mitmproxy / on_handshake_error

Method on_handshake_error

mitmproxy/proxy/layers/tls.py:510–512  ·  view source on GitHub ↗
(self, err: str)

Source from the content-addressed store, hash-verified

508 yield from super().event_to_child(event)
509
510 def on_handshake_error(self, err: str) -> layer.CommandGenerator[None]:
511 yield commands.Log(f"Server TLS handshake failed. {err}", level=WARNING)
512 yield from super().on_handshake_error(err)
513
514
515class ClientTLSLayer(TLSLayer):

Callers

nothing calls this directly

Calls 1

on_handshake_errorMethod · 0.45

Tested by

no test coverage detected