client cleanup

This commit is contained in:
2025-09-19 21:10:11 -04:00
parent 07151857c5
commit 7f8fb011ce
2 changed files with 126 additions and 68 deletions

View File

@@ -171,7 +171,7 @@ func (s *Server) proxyRawConnection(clientConn net.Conn, tunnelConn *TunnelConne
}
}()
// Handle tunnel -> client (read from response channel)
// Return Client Response Data
for data := range responseChan {
if _, err := clientConn.Write(data); err != nil {
break