MCPcopy
hub / github.com/shadowsocks/shadowsocks / run_server

Function run_server

shadowsocks/manager.py:213–229  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

211 eventloop.TIMEOUT_PRECISION = 1
212
213 def run_server():
214 config = {
215 'server': '127.0.0.1',
216 'local_port': 1081,
217 'port_password': {
218 '8381': 'foobar1',
219 '8382': 'foobar2'
220 },
221 'method': 'aes-256-cfb',
222 'manager_address': '127.0.0.1:6001',
223 'timeout': 60,
224 'fast_open': False,
225 'verbose': 2
226 }
227 manager = Manager(config)
228 enc.append(manager)
229 manager.run()
230
231 t = threading.Thread(target=run_server)
232 t.start()

Callers

nothing calls this directly

Calls 2

runMethod · 0.95
ManagerClass · 0.85

Tested by

no test coverage detected