seconds. Code changes from a patch submitted by umich.
ticket: 6120
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20810
dc483132-0cff-0310-8789-
dd5450dbe970
#endif
/* Default timeout can be changed using clnt_control() */
-static struct timeval TIMEOUT = { 25, 0 };
+static struct timeval TIMEOUT = { 120, 0 };
generic_ret *
create_principal_2(cprinc_arg *argp, CLIENT *clnt)
if (client == NULL) {
return (NULL);
}
- tv.tv_sec = 25;
+ tv.tv_sec = 120;
clnt_control(client, CLSET_TIMEOUT, &tv);
break;
case IPPROTO_TCP:
if (client == NULL) {
return (NULL);
}
- tv.tv_sec = 25;
+ tv.tv_sec = 120;
tv.tv_usec = 0;
clnt_control(client, CLSET_TIMEOUT, &tv);
break;