MCPcopy Create free account
hub / github.com/Frontrooms/3.0-GC / load

Method load

proxy.py:120–125  ·  view source on GitHub ↗
(self, l)

Source from the content-addressed store, hash-verified

118 strategy: TlsStrategy
119
120 def load(self, l):
121 l.add_option(
122 "tls_strategy", int, 0,
123 "TLS passthrough strategy. If set to 0, connections will be passed through after the first unsuccessful "
124 "handshake. If set to 0 < p <= 100, connections with be passed through with probability p.",
125 )
126
127 def configure(self, updated):
128 if "tls_strategy" not in updated:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected