PennState / kerblib

Various kerb utilities and a restful "kadmin-like" endpoint
0 stars 2 forks source link

Allow setting response timeout #11

Open acobaugh opened 4 years ago

acobaugh commented 4 years ago

The various krb5 and kadm5 functions have very long hard-coded timeouts. Pistache provides a response.timeoutAfter(), and supports a custom onTimeout() method to the handler:

http://pistache.io/guide/#controlling-timeout