Minor fixes

This commit is contained in:
世界
2022-07-30 14:50:33 +08:00
parent d3378a575c
commit 2ce09b6ffd
13 changed files with 87 additions and 24 deletions

View File

@@ -101,7 +101,9 @@ func (s *Server) Start() error {
}
func (s *Server) Close() error {
return s.httpServer.Close()
s.httpServer.Close()
s.trafficManager.Close()
return nil
}
func (s *Server) RoutedConnection(ctx context.Context, conn net.Conn, metadata adapter.InboundContext, matchedRule adapter.Rule) (net.Conn, adapter.Tracker) {