fix udp connection timeout

This commit is contained in:
ginuerzh
2024-08-06 18:33:29 +08:00
parent 5e8a8a4b4d
commit 22e522e933
9 changed files with 30 additions and 24 deletions

View File

@ -83,6 +83,9 @@ func (ep *entrypoint) handle(ctx context.Context, conn net.Conn) error {
log.Trace(string(dump))
}
resp.ProtoMajor = req.ProtoMajor
resp.ProtoMinor = req.ProtoMinor
var tunnelID relay.TunnelID
if ep.ingress != nil {
if rule := ep.ingress.GetRule(ctx, req.Host); rule != nil {