chore(agent): update submodule and add logging for TCP/UDP stream server startup

This commit is contained in:
yusing
2026-01-07 01:21:29 +08:00
parent 68c15536bc
commit fc3af0b874

View File

@@ -72,9 +72,11 @@ Tips:
}
tcpServer := stream.NewTCPServer(t.Context(), tcpListener, caCert.Leaf, srvCert)
go tcpServer.Start()
log.Info().Int("port", env.AgentStreamPort).Msg("TCP stream server started")
udpServer := stream.NewUDPServer(t.Context(), &net.UDPAddr{Port: env.AgentStreamPort}, caCert.Leaf, srvCert)
go udpServer.Start()
log.Info().Int("port", env.AgentStreamPort).Msg("UDP stream server started")
if socketproxy.ListenAddr != "" {
runtime := strutils.Title(string(env.Runtime))