8333772: Incorrect Kerberos behavior when udp_preference_limit = 0

Reviewed-by: ssahoo, mullan
This commit is contained in:
Weijun Wang 2024-07-22 16:00:40 +00:00
parent 0725eb1df2
commit c740e1e3b0
4 changed files with 211 additions and 32 deletions

View file

@ -134,6 +134,7 @@ public class Krb5 {
// number of retries before giving up
public static final int KDC_RETRY_LIMIT = 3;
public static final int KDC_TIMEOUT = 30000;
public static final int KDC_DEFAULT_UDP_PREF_LIMIT = 1465;
public static final int KDC_HARD_UDP_LIMIT = 32700;