TUN-6503: Fix transport fallback from QUIC in face of dial error "no network activity"

This commit is contained in:
Nuno Diegues
2022-07-06 12:58:33 +01:00
parent ac7fdd5572
commit 7607ead143
3 changed files with 9 additions and 3 deletions

View File

@@ -412,8 +412,7 @@ func ServeTunnel(
}
return err.Cause, !err.Permanent
case *connection.EdgeQuicDialError:
// Don't retry connection for a dial error
return err, false
return err, true
case ReconnectSignal:
connLog.Logger().Info().
IPAddr(connection.LogFieldIPAddress, addr.UDP.IP).