krb5 commit: Extend gss-sample timeout from 10s to 300s
Greg Hudson
ghudson at mit.edu
Wed Aug 1 11:29:23 EDT 2018
https://github.com/krb5/krb5/commit/6e7d1ced6eadb7f649cb875824e3839d6ef01166
commit 6e7d1ced6eadb7f649cb875824e3839d6ef01166
Author: Alejandro Perez <alex.perez-mendez at jisc.ac.uk>
Date: Wed Aug 1 09:56:54 2018 +0200
Extend gss-sample timeout from 10s to 300s
Some GSS mechanisms (such as GSS EAP - RFC 7055) require user
interaction, and ten seconds is too little to allow users to select
the identity they want to use or type their password. Make gss-client
and gss-server more useful for testing these mechanisms by extending
its timeout to five minutes.
[ghudson at mit.edu: edited commit message]
ticket: 8719 (new)
src/appl/gss-sample/gss-misc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/appl/gss-sample/gss-misc.c b/src/appl/gss-sample/gss-misc.c
index 080ac4d..856ca4a 100644
--- a/src/appl/gss-sample/gss-misc.c
+++ b/src/appl/gss-sample/gss-misc.c
@@ -115,7 +115,7 @@ read_all(int fildes, void *data, unsigned int nbyte)
FD_ZERO(&rfds);
FD_SET(fildes, &rfds);
- tv.tv_sec = 10;
+ tv.tv_sec = 300;
tv.tv_usec = 0;
for (ptr = buf; nbyte; ptr += ret, nbyte -= ret) {
More information about the cvs-krb5
mailing list