krb5 commit: Extend gss-sample timeout from 10s to 300s
Greg Hudson <[email protected]>
| Newsgroups | gmane.comp.encryption.kerberos.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://github.com/krb5/krb5/commit/6e7d1ced6eadb7f649cb875824e3839d6ef01166 commit 6e7d1ced6eadb7f649cb875824e3839d6ef01166 Author: Alejandro Perez <[email protected]> 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. [[email protected]: 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) {