From: Alejandro Perez Date: Wed, 1 Aug 2018 07:56:54 +0000 (+0200) Subject: Extend gss-sample timeout from 10s to 300s X-Git-Tag: krb5-1.17-beta1~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e7d1ced6eadb7f649cb875824e3839d6ef01166;p=thirdparty%2Fkrb5.git 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@mit.edu: edited commit message] ticket: 8719 (new) --- diff --git a/src/appl/gss-sample/gss-misc.c b/src/appl/gss-sample/gss-misc.c index 080ac4d0c6..856ca4a4e0 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) {