Expand description
v1.4.110 Layer 3 A: startup Phase 4 — surface server (WS/REST/gRPC/Telnet)
spawn / card_num expand / SIGHUP unified handler / TCP fail-closed gate /
主 tokio::select! 循环 + 清理. 抽自原 mod.rs::run_daemon 533..1075 行段.
Phase 4 取走 Phase1Out 所有权 (保证 _audit_guard 直到 fn 返回才 drop),
同时取 bridge: Arc<GatewayBridge> 与 Phase3Out 启动各 surface server.
Modules§
Structs§
Functions§
- activate_
restricted_ 🔒listeners_ before_ auth - await_
auth_ 🔒or_ surface_ exit - bind_
includes_ 🔒loopback - execute_
auth_ 🔒plan_ until_ shutdown - external_
verification_ 🔒owner_ available - run_
phase4 🔒 - startup_
auth_ 🔒failure_ after_ restricted_ bind - telnet_
bind_ 🔒addr - transition_
startup_ 🔒to_ shutdown - wait_
for_ 🔒sigterm