mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-18 15:23:51 +01:00
chore(agent): update submodule and add logging for TCP/UDP stream server startup
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user