MCPcopy
hub / github.com/mitmproxy/mitmproxy / CloseConnection

Class CloseConnection

mitmproxy/proxy/commands.py:94–98  ·  view source on GitHub ↗

Close a connection. If the client connection is closed, all other connections will ultimately be closed during cleanup.

Source from the content-addressed store, hash-verified

92
93
94class CloseConnection(ConnectionCommand):
95 """
96 Close a connection. If the client connection is closed,
97 all other connections will ultimately be closed during cleanup.
98 """
99
100
101class CloseTcpConnection(CloseConnection):

Callers 15

_handle_eventMethod · 0.90
test_open_connection_errFunction · 0.90
test_simpleFunction · 0.90
test_protocol_errorFunction · 0.90
test_close_normalFunction · 0.90
test_close_disconnectFunction · 0.90
test_close_codeFunction · 0.90

Calls

no outgoing calls

Tested by 15

_handle_eventMethod · 0.72
test_open_connection_errFunction · 0.72
test_simpleFunction · 0.72
test_protocol_errorFunction · 0.72
test_close_normalFunction · 0.72
test_close_disconnectFunction · 0.72
test_close_codeFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…