relay: fix routing for http traffic from entrypoint

This commit is contained in:
ginuerzh
2023-02-12 20:42:46 +08:00
parent 6f9f5ce6ab
commit b8027864a3
3 changed files with 125 additions and 3 deletions

View File

@ -131,7 +131,7 @@ func (h *relayHandler) handleConnectTunnel(ctx context.Context, conn net.Conn, n
return err
}
cc, err := getTunnelConn(network, h.pool, tunnelID, 3, log)
cc, _, err := getTunnelConn(network, h.pool, tunnelID, 3, log)
if err != nil {
log.Error(err)
return err