Extract daemon-to-agent loopback proxy and token helpers into a platform-neutral file

This commit is contained in:
Viktor Liu
2026-05-20 12:11:15 +02:00
parent 6193ed5b17
commit 8092fe2f93
4 changed files with 105 additions and 87 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ func (s *Server) serviceAcceptLoop() {
sm := newSessionManager(agentPort)
go sm.run()
log.Infof("service mode, proxying connections to agent on 127.0.0.1:%s", agentPort)
log.Infof("service mode, proxying connections to agent on 127.0.0.1:%d", agentPort)
for {
conn, err := s.listener.Accept()