mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-21 06:23:52 +00:00
Each program's loop, signals, plugin watcher and stats timer now go through ss::event::Program (src/event/program.hpp), held on main()'s stack; ss-manager uses it too. ss-server resolves the manager address with the relay resolver. With no C caller left, ss_event.cpp/.h, resolv.cpp/.h and their C tests go; test_resolver_cpp.cpp replaces the resolver tests against the same delayed local DNS server, and ss_ev is now an interface target over libuv.