MCPcopy
hub / github.com/mitmproxy/mitmproxy / close

Method close

mitmproxy/net/tls.py:132–135  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

130 self.f.flush()
131
132 def close(self):
133 with self.lock:
134 if self.f is not None:
135 self.f.close()
136
137
138def make_master_secret_logger(filename: str | None) -> MasterSecretLogger | None:

Callers 15

conftest.pyFile · 0.45
run_asyncFunction · 0.45
test_websocketMethod · 0.45
test_reuseFunction · 0.45
test_tcp_start_stopFunction · 0.45
test_tcp_timeoutFunction · 0.45
test_transparentFunction · 0.45
_echo_serverFunction · 0.45
test_udp_start_stopFunction · 0.45

Calls

no outgoing calls

Tested by 15

test_websocketMethod · 0.36
test_reuseFunction · 0.36
test_tcp_start_stopFunction · 0.36
test_tcp_timeoutFunction · 0.36
test_transparentFunction · 0.36
_echo_serverFunction · 0.36
test_udp_start_stopFunction · 0.36
test_dual_stackFunction · 0.36
test_dns_start_stopFunction · 0.36
test_tun_modeFunction · 0.36